You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ rustup run nightly rustfmt --write-mode=diff testme.rs
Diff in /Users/charlieozinga/Documents/Projects/gits/g2c/testme.rs at line 1:
fn main() {⏎
- let value = json!({⏎
- "hello": "this is text",⏎
- "goodbye": 123.4⏎
- });⏎
+ let value = json!({});⏎
}⏎
⏎
The text was updated successfully, but these errors were encountered:
I use the
json!
macro fromserde_json
(https://docs.serde.rs/serde_json/macro.json.html) quite a bit, but since version 0.3.4, rustfmt has been eating everything! This is not good.The text was updated successfully, but these errors were encountered: