mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 14:25:32 +00:00
Change file.write to file.write_all
This commit is contained in:
parent
199cabd0af
commit
f1b190743b
@ -102,7 +102,7 @@ impl Cache for FileSystemCache {
|
||||
let buffer = serialized_cache.serialize()?;
|
||||
|
||||
let mut file = File::create(new_path_buf)?;
|
||||
file.write(&buffer)?;
|
||||
file.write_all(&buffer)?;
|
||||
|
||||
Ok(key)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user