Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/cfg/src/lib.rs')
| -rw-r--r-- | crates/cfg/src/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/cfg/src/lib.rs b/crates/cfg/src/lib.rs index f867a903b0..837b8d4c92 100644 --- a/crates/cfg/src/lib.rs +++ b/crates/cfg/src/lib.rs @@ -128,7 +128,7 @@ impl fmt::Display for CfgDiff { }; f.write_str(sep)?; - write!(f, "{}", atom)?; + atom.fmt(f)?; } if !self.disable.is_empty() { @@ -146,7 +146,7 @@ impl fmt::Display for CfgDiff { }; f.write_str(sep)?; - write!(f, "{}", atom)?; + atom.fmt(f)?; } } @@ -170,7 +170,7 @@ impl fmt::Display for InactiveReason { }; f.write_str(sep)?; - write!(f, "{}", atom)?; + atom.fmt(f)?; } let is_are = if self.enabled.len() == 1 { "is" } else { "are" }; write!(f, " {} enabled", is_are)?; @@ -189,7 +189,7 @@ impl fmt::Display for InactiveReason { }; f.write_str(sep)?; - write!(f, "{}", atom)?; + atom.fmt(f)?; } let is_are = if self.disabled.len() == 1 { "is" } else { "are" }; write!(f, " {} disabled", is_are)?; |