aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-06 10:53:56 +0100
committerGitHub <[email protected]>2020-04-06 10:53:56 +0100
commitec3fb1cdb4f1808a11fb6057550ed721c2aa36a9 (patch)
treeb729d8ec3a32fae92a209d1bed4e97899dfb2433 /crates/ra_ide/src/syntax_highlighting.rs
parent972816b6d4b8caf1b37820e9f9331552db70a04f (diff)
parent48bc0ca745a0ebdd61b7db3935582bf5ec95042b (diff)
Merge pull request #3853 from matklad/cf
Make control token modifier less ambiguous
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting.rs')
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs
index 7fc94d3cd..d833a816b 100644
--- a/crates/ra_ide/src/syntax_highlighting.rs
+++ b/crates/ra_ide/src/syntax_highlighting.rs
@@ -232,7 +232,7 @@ fn highlight_element(
232 | T![loop] 232 | T![loop]
233 | T![match] 233 | T![match]
234 | T![return] 234 | T![return]
235 | T![while] => h | HighlightModifier::Control, 235 | T![while] => h | HighlightModifier::ControlFlow,
236 T![unsafe] => h | HighlightModifier::Unsafe, 236 T![unsafe] => h | HighlightModifier::Unsafe,
237 _ => h, 237 _ => h,
238 } 238 }