From dbd6266bc91c3934176e251eedb7de381fcc1006 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Thu, 22 Oct 2020 20:08:27 +0200 Subject: Update crates/cfg/src/cfg_expr.rs Co-authored-by: Aleksey Kladov --- crates/cfg/src/cfg_expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') 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 { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match self { CfgAtom::Flag(name) => write!(f, "{}", name), - CfgAtom::KeyValue { key, value } => write!(f, "{} = \"{}\"", key, value), + CfgAtom::KeyValue { key, value } => write!(f, "{} = {:?}", key, value), } } } -- cgit v1.2.3