Skip to content

Commit

Permalink
fix(vfs) Remove a Clippy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Aug 30, 2021
1 parent 167d926 commit 4f59083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/vfs/src/mem_fs/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit 4f59083

Please sign in to comment.