Skip to content

Commit

Permalink
Fix clippy reported warnings.
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Dubois <[email protected]>
  • Loading branch information
jcdubois committed Dec 16, 2023
1 parent 06d3b9c commit 4949b3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions heatshrink-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ impl<'a> OutputInfo<'a> {
/// Create a new OutputInfo instance from provided parameters
fn new(output_buffer: &'a mut [u8]) -> Self {
OutputInfo {
output_buffer : output_buffer,
output_size : 0 as usize,
output_buffer,
output_size : 0_usize,
}
}

Expand Down

0 comments on commit 4949b3c

Please sign in to comment.