[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rust-mode b81c723 467/486: Various cosmetic changes
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rust-mode b81c723 467/486: Various cosmetic changes |
Date: |
Sat, 7 Aug 2021 09:26:16 -0400 (EDT) |
branch: elpa/rust-mode
commit b81c72330aa298b0e417d69f745d931121ae7f35
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Nathan Moreau <nathan.moreau@m4x.org>
Various cosmetic changes
---
rust-mode.el | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/rust-mode.el b/rust-mode.el
index 273dd86..ba19a13 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -409,8 +409,8 @@ Does not match type annotations of the form \"foo::<\"."
(,(concat (rust-re-grab
(concat (rust-re-word (regexp-opt
rust-builtin-formatting-macros))
"!"))
- (concat rust-formatting-macro-opening-re
- "\\(?:" rust-start-of-string-re) "\\)?")
+ rust-formatting-macro-opening-re
+ "\\(?:" rust-start-of-string-re "\\)?")
(1 'rust-builtin-formatting-macro-face)
(rust-string-interpolation-matcher
(rust-end-of-string)
@@ -419,8 +419,9 @@ Does not match type annotations of the form \"foo::<\"."
;; write! macro
(,(concat (rust-re-grab (concat (rust-re-word "write\\(ln\\)?") "!"))
- (concat rust-formatting-macro-opening-re
- "[[:space:]]*[^\"]+,[[:space:]]*"
rust-start-of-string-re))
+ rust-formatting-macro-opening-re
+ "[[:space:]]*[^\"]+,[[:space:]]*"
+ rust-start-of-string-re)
(1 'rust-builtin-formatting-macro-face)
(rust-string-interpolation-matcher
(rust-end-of-string)
@@ -440,7 +441,9 @@ Does not match type annotations of the form \"foo::<\"."
;; Type-inferred binding
(,(concat
"\\_<\\(?:let\\s-+ref\\|let\\|ref\\|for\\)\\s-+\\(?:mut\\s-+\\)?"
- (rust-re-grab rust-re-ident) "\\_>") 1
font-lock-variable-name-face)
+ (rust-re-grab rust-re-ident)
+ "\\_>")
+ 1 font-lock-variable-name-face)
;; Type names like `Foo::`, highlight excluding the ::
(,(rust-path-font-lock-matcher rust-re-uc-ident) 1 font-lock-type-face)
- [nongnu] elpa/rust-mode eb5270b 437/486: rust-before-save-hook: log errors., (continued)
- [nongnu] elpa/rust-mode eb5270b 437/486: rust-before-save-hook: log errors., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 2df6cf7 439/486: Don't fail on re-search-forward. (#359), ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode ca415e9 470/486: Add rust-check function, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode e327658 274/486: Merge pull request #178 from ryuslash/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 7e2533f 415/486: Fix rustc-compilation-regexps: match error messages with dashes. (#331), ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 9107989 424/486: review, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode d0f3f45 431/486: imenu: fn items: match async/const and all pub variants. (#346), ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 7afad7b 464/486: rearrange II: Regexp variables and functions, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode bbb3792 473/486: Remove "-face" suffix from names of faces, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 3eb6d2f 485/486: Create rust-utils.el from existing code, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode b81c723 467/486: Various cosmetic changes,
ELPA Syncer <=
- [nongnu] elpa/rust-mode 1f8a763 446/486: Fix typos, ELPA Syncer, 2021/08/07