diff options
author | Lukas Wirth <[email protected]> | 2020-12-04 14:51:23 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2020-12-04 16:09:40 +0000 |
commit | a1c8bdecfd408b7573357604f9c6543556f3f19a (patch) | |
tree | 1e11e66725f2af53ab4674531b3a886f2582ec99 /crates/syntax/src/parsing | |
parent | a3043cf53feffef3f69f25c2617801d2fc66ce75 (diff) |
Use items can also have doc comments
Diffstat (limited to 'crates/syntax/src/parsing')
-rw-r--r-- | crates/syntax/src/parsing/text_tree_sink.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/syntax/src/parsing/text_tree_sink.rs b/crates/syntax/src/parsing/text_tree_sink.rs index 997bc5d28..49842177a 100644 --- a/crates/syntax/src/parsing/text_tree_sink.rs +++ b/crates/syntax/src/parsing/text_tree_sink.rs | |||
@@ -148,7 +148,7 @@ fn n_attached_trivias<'a>( | |||
148 | ) -> usize { | 148 | ) -> usize { |
149 | match kind { | 149 | match kind { |
150 | MACRO_CALL | CONST | TYPE_ALIAS | STRUCT | ENUM | VARIANT | FN | TRAIT | MODULE | 150 | MACRO_CALL | CONST | TYPE_ALIAS | STRUCT | ENUM | VARIANT | FN | TRAIT | MODULE |
151 | | RECORD_FIELD | STATIC => { | 151 | | RECORD_FIELD | STATIC | USE => { |
152 | let mut res = 0; | 152 | let mut res = 0; |
153 | let mut trivias = trivias.enumerate().peekable(); | 153 | let mut trivias = trivias.enumerate().peekable(); |
154 | 154 | ||