Clippy
This commit is contained in:
committed by
mergify[bot]
parent
293a0d8797
commit
350bb561eb
@ -40,11 +40,9 @@ impl LogLine {
|
||||
format!(
|
||||
"Lost {}%, {}, ({} - {}), sender {}, receiver {}",
|
||||
((v1 - v2) * 100 / v1),
|
||||
Byte::from_bytes(v1 - v2)
|
||||
.get_appropriate_unit(true)
|
||||
.to_string(),
|
||||
Byte::from_bytes(v1).get_appropriate_unit(true).to_string(),
|
||||
Byte::from_bytes(v2).get_appropriate_unit(true).to_string(),
|
||||
Byte::from_bytes(v1 - v2).get_appropriate_unit(true),
|
||||
Byte::from_bytes(v1).get_appropriate_unit(true),
|
||||
Byte::from_bytes(v2).get_appropriate_unit(true),
|
||||
a,
|
||||
b
|
||||
)
|
||||
|
Reference in New Issue
Block a user