We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 928433a commit 7b52211Copy full SHA for 7b52211
src/measurement.rs
@@ -71,7 +71,8 @@ macro_rules! implement_display {
71
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
72
let (unit, value) = self.get_appropriate_units();
73
value.fmt(f)?;
74
- write!(f, "\u{00A0}{0}", unit)
+ "\u{00A0}".fmt(f)?;
75
+ unit.fmt(f)
76
}
77
78
)*)
0 commit comments