diff options
author | Jeremy A. Kolb <[email protected]> | 2018-10-31 21:38:18 +0000 |
---|---|---|
committer | Jeremy A. Kolb <[email protected]> | 2018-10-31 21:38:18 +0000 |
commit | 61580f3cb82821c65dc93627d9b3ec9390cce281 (patch) | |
tree | dd8bdf0f3489b972728a4023fbf6e460f1fed4dc /crates/ra_syntax/src/reparsing.rs | |
parent | 2b210d98b8807e0dfd6762a2974388fca7ee1ee9 (diff) |
Remove DOC_COMMENT
Closes #166
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[..] { |