Skip to content

Commit

Permalink
Escape key strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
01mf02 committed Mar 20, 2024
1 parent 98975c5 commit f693675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaq-play/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl<'a> Display for Pp<'a> {
let mut iter = o.iter().peekable();
while let Some((k, val)) = iter.next() {
indent(f, self.level + 1)?;
span_dbg(f, "key", k)?;
span_dbg(f, "key", escape(k))?;
write!(f, ": ")?;
Pp {
val,
Expand Down

0 comments on commit f693675

Please sign in to comment.