We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1f41e8 commit 49b682eCopy full SHA for 49b682e
compiler/ast/src/unparse.rs
@@ -152,7 +152,11 @@ impl<'a> Unparser<'a> {
152
let (packed, unpacked) = values.split_at(keys.len());
153
for (k, v) in keys.iter().zip(packed) {
154
self.p_delim(&mut first, ", ")?;
155
- write!(self, "{}: {}", *k, *v)?;
+ if let Some(k) = k {
156
+ write!(self, "{}: {}", *k, *v)?;
157
+ } else {
158
+ write!(self, "**{}", *v)?;
159
+ }
160
}
161
for d in unpacked {
162
0 commit comments