Fix a couple bugs

This commit is contained in:
Igor Katson 2023-11-25 11:21:45 +00:00
parent 1bea1f9235
commit 1c53aeba2f
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
6 changed files with 57 additions and 30 deletions

View file

@ -191,7 +191,7 @@ impl Serialize for Speed {
}
Tmp {
mbps: self.mbps,
human_readable: format!("{:?}", self.mbps),
human_readable: format!("{}", self),
}
.serialize(serializer)
}