mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 20:58:28 +00:00
Apply suggestions from code review
Co-authored-by: nlewycky <nick@wasmer.io>
This commit is contained in:
2
lib/cache/src/filesystem.rs
vendored
2
lib/cache/src/filesystem.rs
vendored
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user