File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
branches/snap-stage3/src/etc/emacs Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 124eb2119c78651cfaaa7a046a101fa2e20f83ca
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 9ef0b9c0d6180f0e5023b29ac57835e6e75517d0
4
+ refs/heads/snap-stage3: 76e95a02647cd46494173839d574403bf1ed699b
5
5
refs/heads/try: ac820906c0e53eab79a98ee64f7231f57c3887b4
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change 62
62
(back-to-indentation )
63
63
(let ((level (rust-paren-level)))
64
64
(cond
65
- ; ; A function return type is 1 level indented
66
- ((looking-at " ->" ) (* rust-indent-offset (+ level 1 )))
65
+ ; ; A function return type is indented to the corresponding function arguments
66
+ ((looking-at " ->" )
67
+ (save-excursion
68
+ (backward-list )
69
+ (rust-first-indent-after-brace)))
67
70
68
71
; ; A closing brace is 1 level unindended
69
72
((looking-at " }" ) (* rust-indent-offset (- level 1 )))
You can’t perform that action at this time.
0 commit comments