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 ded5ef7 commit 96f7f79Copy full SHA for 96f7f79
rust-mode.el
@@ -104,6 +104,8 @@
104
(backward-up-list)
105
(back-to-indentation))))
106
107
+(defconst rust-re-ident "[[:word:][:multibyte:]_][[:word:][:multibyte:]_[:digit:]]*")
108
+
109
(defun rust-align-to-method-chain ()
110
(save-excursion
111
;; for method-chain alignment to apply, we must be looking at
@@ -318,7 +320,6 @@
318
320
"bool"
319
321
"str" "char"))
322
-(defconst rust-re-ident "[[:word:][:multibyte:]_][[:word:][:multibyte:]_[:digit:]]*")
323
(defconst rust-re-CamelCase "[[:upper:]][[:word:][:multibyte:]_[:digit:]]*")
324
(defun rust-re-word (inner) (concat "\\<" inner "\\>"))
325
(defun rust-re-grab (inner) (concat "\\(" inner "\\)"))
0 commit comments