summaryrefslogtreecommitdiff
path: root/rust-mode.el
diff options
context:
space:
mode:
authorMicah Chalmer <micah@micahchalmer.net>2013-09-05 22:25:41 -0400
committerMicah Chalmer <micah@micahchalmer.net>2013-09-06 01:02:19 -0400
commitaf2aba904eeb689b72f5c074030b1d527b6777dc (patch)
treeeceaa3ca3e64832cc923f6034524b6e4b2fa02d7 /rust-mode.el
parent0bf2920e1d3fc5cd5f14b4e89d2535c1a39315cd (diff)
downloadrust-mode-af2aba904eeb689b72f5c074030b1d527b6777dc.tar.gz
Indent correctly after opening square bracket
Diffstat (limited to 'rust-mode.el')
-rw-r--r--rust-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el
index e8cfd05..e45cec9 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -100,7 +100,7 @@
(beginning-of-line)
(rust-rewind-irrelevant)
(end-of-line)
- (if (looking-back "[,;{}(][[:space:]]*\\(?://.*\\)?")
+ (if (looking-back "[[,;{}(][[:space:]]*\\(?://.*\\)?")
(* rust-indent-offset level)
(back-to-indentation)
(if (looking-at "#")