--> htp/src/decompressors.rs:703:64
|
703 | std::io::Error::new(std::io::ErrorKind::Other, format!("{}", e))
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
self.0.finish().map_err(|e| match e {
lzma_rs::error::Error::IoError(e) => e,
lzma_rs::error::Error::HeaderTooShort(e) => {
- std::io::Error::new(std::io::ErrorKind::Other, format!("{}", e))
+ std::io::Error::new(std::io::ErrorKind::Other, format!("{e}"))
}
lzma_rs::error::Error::LzmaError(e) | lzma_rs::error::Error::XzError(e) => {
std::io::Error::new(std::io::ErrorKind::Other, e)