Fix clippy linting (#115)

* Fix clippy

(This was fixed via `cargo clippy --fix`)

* Fmt
This commit is contained in:
Erik Johnston
2023-03-27 12:00:32 +01:00
committed by GitHub
parent 923ca65f67
commit f4d96c73a8
3 changed files with 5 additions and 11 deletions

View File

@@ -156,7 +156,7 @@ impl<'a> Compressor<'a> {
) -> Compressor<'a> {
let levels = level_info
.iter()
.map(|l| Level::restore((*l).max_length, (*l).current_chain_length, (*l).head))
.map(|l| Level::restore(l.max_length, l.current_chain_length, l.head))
.collect();
let mut compressor = Compressor {