Quote map property names.

This commit is contained in:
Stephen Chung
2020-11-30 22:02:32 +08:00
parent 4c4a209609
commit c5babac3da
2 changed files with 2 additions and 3 deletions

View File

@@ -172,8 +172,7 @@ mod print_debug_functions {
let len = map.len();
map.iter_mut().enumerate().for_each(|(i, (k, v))| {
result.push_str(k);
result.push_str(": ");
result.push_str(&format!("{:?}: ", k));
result.push_str(&print_with_func(FUNC_TO_DEBUG, &ctx, v));
if i < len - 1 {
result.push_str(", ");