Apply suggestions from code review

Co-authored-by: nlewycky <nick@wasmer.io>
This commit is contained in:
Syrus Akbary
2020-06-12 13:01:27 -07:00
committed by GitHub
parent c65949260c
commit a0dcbca5f2
4 changed files with 7 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ impl FileSystemCache {
/// Set the extension for this cached file.
///
/// This is needed for loading native files from Windows, as otherwise
/// loadding the library will fail (it requires to have a `.dll` extension)
/// loading the library will fail (it requires a `.dll` extension)
pub fn set_cache_extension(&mut self, ext: Option<impl ToString>) {
self.ext = ext.map(|ext| ext.to_string());
}