We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a831726 commit 785c524Copy full SHA for 785c524
src/etc/emacs/rust-mode.el
@@ -271,8 +271,7 @@
271
(setf cx parent parent (caddr (rust-state-context st))))
272
(let* ((tp (rust-context-type cx))
273
(closing (eq tp (char-after)))
274
- (unit (if (member (rust-context-info cx) '(alt-inner alt-outer))
275
- (/ rust-indent-unit 2) rust-indent-unit))
+ (unit rust-indent-unit)
276
(base (if (and (eq tp 'statement) parent (rust-context-align parent))
277
(rust-context-column parent) (rust-context-indent cx))))
278
(cond ((eq tp 'comment) base)
0 commit comments