Update crates/cfg/src/cfg_expr.rs

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
Jonas Schievink 2020-10-22 20:08:27 +02:00 committed by GitHub
parent 3421b645e6
commit dbd6266bc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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),
}
}
}