From 631dcc63e5031fda77cda2505ed26b326bdda5ab Mon Sep 17 00:00:00 2001 From: spuds <71292624+bananaturtlesandwich@users.noreply.github.com> Date: Wed, 10 Apr 2024 22:50:15 +0100 Subject: [PATCH] allow unused_io_amount --- unreal_asset/unreal_asset_base/src/containers/chain.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unreal_asset/unreal_asset_base/src/containers/chain.rs b/unreal_asset/unreal_asset_base/src/containers/chain.rs index 73aaf32..4652949 100644 --- a/unreal_asset/unreal_asset_base/src/containers/chain.rs +++ b/unreal_asset/unreal_asset_base/src/containers/chain.rs @@ -36,6 +36,8 @@ impl Chain { } impl Read for Chain { + // this is an implementation of read so clippy complaining about use of read is stupid + #[allow(clippy::unused_io_amount)] fn read(&mut self, buf: &mut [u8]) -> Result { match self.second.as_mut() { Some(sec) => {