aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-21 09:05:52 +0000
committerAleksey Kladov <[email protected]>2019-02-21 09:05:52 +0000
commit1b2e70df99c8afad5e4825f18d037f77d3e4eda6 (patch)
treef2de7a4e93175e1197c27bb40e50cf712b25d84b
parent79ce0fa8d753ea00b5a98c7835be2f7dec7704f9 (diff)
minor
-rw-r--r--crates/ra_syntax/src/parsing/token_set.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/parsing/token_set.rs b/crates/ra_syntax/src/parsing/token_set.rs
index 5719fe5a2..24152a38a 100644
--- a/crates/ra_syntax/src/parsing/token_set.rs
+++ b/crates/ra_syntax/src/parsing/token_set.rs
@@ -34,7 +34,7 @@ macro_rules! token_set {
34#[test] 34#[test]
35fn token_set_works_for_tokens() { 35fn token_set_works_for_tokens() {
36 use crate::SyntaxKind::*; 36 use crate::SyntaxKind::*;
37 let ts = token_set! { EOF, SHEBANG }; 37 let ts = token_set![EOF, SHEBANG];
38 assert!(ts.contains(EOF)); 38 assert!(ts.contains(EOF));
39 assert!(ts.contains(SHEBANG)); 39 assert!(ts.contains(SHEBANG));
40 assert!(!ts.contains(PLUS)); 40 assert!(!ts.contains(PLUS));