-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emacs mode indentation is wrong when function return -> is on its own line #13566
Comments
Since you cc'ed me: I didn't really look at the indentation code. I think it would be best to throw it out and use GNU Emacs' SMIE instead. But I currently don't have the time or inside knowledge of the rust syntax to work on that. See (info "(elisp) SMIE"). |
@ruediger I've no opinion about this. Our current indentation setup seems to work pretty well, but it certainly has a few minor flaws, and maybe rebasing atop SMIE might be better. |
cc #8793 |
Moved to rust-lang/rust-mode#8 |
minor: Fix typos
Fix version for `ref_option` Close rust-lang#13566 As mentioned at rust-lang#13566 `ref_option` [was merged](rust-lang/rust-clippy#13336) after 1.82.0 so it wasn't include in this version changelog: none
The following code indents as shown here, which is weird:
I expect it to be:
The text was updated successfully, but these errors were encountered: