From 4f59083925c357802f396b4109d78de1fc0714c5 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 30 Aug 2021 12:12:08 +0200 Subject: [PATCH] fix(vfs) Remove a Clippy error. --- Cargo.lock | 1 + lib/vfs/src/mem_fs/file.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index a4d4fbd7aa8..327f2ca4e39 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2919,6 +2919,7 @@ name = "wasmer-wast" version = "2.0.0" dependencies = [ "anyhow", + "serde", "tempfile", "thiserror", "wasmer", diff --git a/lib/vfs/src/mem_fs/file.rs b/lib/vfs/src/mem_fs/file.rs index 4700d3ad98e..2f8f9eaf978 100644 --- a/lib/vfs/src/mem_fs/file.rs +++ b/lib/vfs/src/mem_fs/file.rs @@ -560,6 +560,7 @@ impl Write for FileHandle { } fn write_all(&mut self, buf: &[u8]) -> io::Result<()> { + #[deny(clippy::unused_io_amount)] self.write(buf)?; Ok(())