Skip to content

Commit

Permalink
allow unused_io_amount
Browse files Browse the repository at this point in the history
  • Loading branch information
bananaturtlesandwich committed Apr 10, 2024
1 parent e8154e6 commit 631dcc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unreal_asset/unreal_asset_base/src/containers/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ impl<C: Read + Seek> Chain<C> {
}

impl<C: Read + Seek> Read for Chain<C> {
// 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<usize> {
match self.second.as_mut() {
Some(sec) => {
Expand Down

0 comments on commit 631dcc6

Please sign in to comment.