branch: elpa/rust-mode
commit 9f21b28002237270c7b08c1f288a1ef576655fae
Author: Niko Matsakis <[email protected]>
Commit: Niko Matsakis <[email protected]>

    change to 4-space indents everywhere
---
 rust-mode.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/rust-mode.el b/rust-mode.el
index 2166f14..c2d1ac0 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -271,8 +271,7 @@
       (setf cx parent parent (caddr (rust-state-context st))))
     (let* ((tp (rust-context-type cx))
            (closing (eq tp (char-after)))
-           (unit (if (member (rust-context-info cx) '(alt-inner alt-outer))
-                     (/ rust-indent-unit 2) rust-indent-unit))
+           (unit rust-indent-unit)
            (base (if (and (eq tp 'statement) parent (rust-context-align 
parent))
                      (rust-context-column parent) (rust-context-indent cx))))
       (cond ((eq tp 'comment) base)

Reply via email to