Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
KillingSpark committed Apr 1, 2024
1 parent 28a309a commit b64ad31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decoding/decodebuffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ impl Decodebuffer {
}
Ok(())
} else {
return Err(DecodebufferError::OffsetTooBig {
Err(DecodebufferError::OffsetTooBig {
offset,
buf_len: self.buffer.len(),
});
})
}
}

Expand Down

0 comments on commit b64ad31

Please sign in to comment.