apply clippy optimization

This commit is contained in:
yggverse 2025-07-08 15:07:18 +03:00
parent 8a58dfdf13
commit 67de3fc213

View file

@ -282,7 +282,7 @@ impl std::fmt::Display for InfoHash {
"{}", "{}",
self.0 self.0
.iter() .iter()
.map(|b| format!("{:02x}", b)) .map(|b| format!("{b:02x}"))
.collect::<String>() .collect::<String>()
) )
} }