aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-10-22 19:08:27 +0100
committerGitHub <[email protected]>2020-10-22 19:08:27 +0100
commitdbd6266bc91c3934176e251eedb7de381fcc1006 (patch)
tree19c240fb8ddeb9d8cf0238f5f1ff55e1b47a216d
parent3421b645e6f7d15ddad0e8e526d8a7db09b72516 (diff)
Update crates/cfg/src/cfg_expr.rs
Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r--crates/cfg/src/cfg_expr.rs2
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}