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
In non-Rust, I treat braces like other delimiters and don't put internal spaces adjacent to them:
functionfive(){return5;}
It'd be nice if I could do this in Rust as well, partially because I'm using the json crate and I'm used to writing inline JSON spacelessly and would rather not add spaces to make it look consistent with the rest of rustfmt.
i.e. I'd prefer
object!{foo: 12}
but currently have to
object!{ foo: 12}
The text was updated successfully, but these errors were encountered:
In non-Rust, I treat braces like other delimiters and don't put internal spaces adjacent to them:
It'd be nice if I could do this in Rust as well, partially because I'm using the
json
crate and I'm used to writing inline JSON spacelessly and would rather not add spaces to make it look consistent with the rest of rustfmt.i.e. I'd prefer
but currently have to
The text was updated successfully, but these errors were encountered: