diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/cfg/src/cfg_expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/cfg/src/cfg_expr.rs b/crates/cfg/src/cfg_expr.rs index 3f12a3fa8..283ff968f 100644 --- a/crates/cfg/src/cfg_expr.rs +++ b/crates/cfg/src/cfg_expr.rs | |||
@@ -44,7 +44,7 @@ impl fmt::Display for CfgAtom { | |||
44 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | 44 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
45 | match self { | 45 | match self { |
46 | CfgAtom::Flag(name) => write!(f, "{}", name), | 46 | CfgAtom::Flag(name) => write!(f, "{}", name), |
47 | CfgAtom::KeyValue { key, value } => write!(f, "{} = \"{}\"", key, value), | 47 | CfgAtom::KeyValue { key, value } => write!(f, "{} = {:?}", key, value), |
48 | } | 48 | } |
49 | } | 49 | } |
50 | } | 50 | } |