diff options
author | Jonas Schievink <[email protected]> | 2020-10-22 19:08:27 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-22 19:08:27 +0100 |
commit | dbd6266bc91c3934176e251eedb7de381fcc1006 (patch) | |
tree | 19c240fb8ddeb9d8cf0238f5f1ff55e1b47a216d /crates/cfg | |
parent | 3421b645e6f7d15ddad0e8e526d8a7db09b72516 (diff) |
Update crates/cfg/src/cfg_expr.rs
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/cfg')
-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 | } |