diff options
Diffstat (limited to 'crates/ra_syntax/src/reparsing.rs')
-rw-r--r-- | crates/ra_syntax/src/reparsing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/reparsing.rs b/crates/ra_syntax/src/reparsing.rs index eae01b1d5..d3b9a30d6 100644 --- a/crates/ra_syntax/src/reparsing.rs +++ b/crates/ra_syntax/src/reparsing.rs | |||
@@ -48,7 +48,7 @@ fn reparse_leaf<'node>( | |||
48 | ) -> Option<(SyntaxNodeRef<'node>, GreenNode, Vec<SyntaxError>)> { | 48 | ) -> Option<(SyntaxNodeRef<'node>, GreenNode, Vec<SyntaxError>)> { |
49 | let node = algo::find_covering_node(node, edit.delete); | 49 | let node = algo::find_covering_node(node, edit.delete); |
50 | match node.kind() { | 50 | match node.kind() { |
51 | WHITESPACE | COMMENT | DOC_COMMENT | IDENT | STRING | RAW_STRING => { | 51 | WHITESPACE | COMMENT | IDENT | STRING | RAW_STRING => { |
52 | let text = get_text_after_edit(node, &edit); | 52 | let text = get_text_after_edit(node, &edit); |
53 | let tokens = tokenize(&text); | 53 | let tokens = tokenize(&text); |
54 | let token = match tokens[..] { | 54 | let token = match tokens[..] { |