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
It seems that once emacs parses a '"' (that is, a double-quote character literal), in rust code it interprets this as the beginning of a string and highlights accordingly. This is very easy to spot, for example, in the file src/libextra/json.rs (which is where I discovered it).
The text was updated successfully, but these errors were encountered:
`suspicious_else_formatting`: Don't warn if there is a comment between else and curly bracket
This PR fixesrust-lang/rust-clippy#10273
The idea is that if the only thing after `else` and before `{` is a comment, we will not warn because, probably, the line break was "made" by rustfmt.
changelog: [`suspicious_else_formatting`]: Don't warn if the only thing between `else` and curly bracket is a comment
It seems that once emacs parses a
'"'
(that is, a double-quote character literal), in rust code it interprets this as the beginning of a string and highlights accordingly. This is very easy to spot, for example, in the filesrc/libextra/json.rs
(which is where I discovered it).The text was updated successfully, but these errors were encountered: