diff --git a/json-macro/src/macros.rs b/json-macro/src/macros.rs index 77ba040..f6d367b 100644 --- a/json-macro/src/macros.rs +++ b/json-macro/src/macros.rs @@ -16,8 +16,7 @@ macro_rules! json { let mut fields = $crate::macros::Box::new( $crate::macros::HashMap::new()); $( - fields.insert($crate::macros::ToString::to_string($key), - json!($value)); + fields.insert($crate::macros::ToString::to_string($key), json!($value)); )* $crate::Json::Object(fields) }