mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Update crates/cfg/src/cfg_expr.rs
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
parent
3421b645e6
commit
dbd6266bc9
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue