diff options
author | kjeremy <[email protected]> | 2019-10-31 20:21:46 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-10-31 20:21:46 +0000 |
commit | dcc0a9cd7ed5521aa521920c4b67e149523beb7f (patch) | |
tree | 08fe19d6afd3ccb787b74bf9fdbc0e5ce0cee2a8 /crates/ra_syntax/src/parsing | |
parent | 5451bfb9a1c6482822bdd7883434b9230affd2ea (diff) |
Attach docs to statics
Diffstat (limited to 'crates/ra_syntax/src/parsing')
-rw-r--r-- | crates/ra_syntax/src/parsing/text_tree_sink.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/parsing/text_tree_sink.rs b/crates/ra_syntax/src/parsing/text_tree_sink.rs index 142164316..c36756d6c 100644 --- a/crates/ra_syntax/src/parsing/text_tree_sink.rs +++ b/crates/ra_syntax/src/parsing/text_tree_sink.rs | |||
@@ -147,7 +147,7 @@ fn n_attached_trivias<'a>( | |||
147 | ) -> usize { | 147 | ) -> usize { |
148 | match kind { | 148 | match kind { |
149 | MACRO_CALL | CONST_DEF | TYPE_ALIAS_DEF | STRUCT_DEF | ENUM_DEF | ENUM_VARIANT | FN_DEF | 149 | MACRO_CALL | CONST_DEF | TYPE_ALIAS_DEF | STRUCT_DEF | ENUM_DEF | ENUM_VARIANT | FN_DEF |
150 | | TRAIT_DEF | MODULE | RECORD_FIELD_DEF => { | 150 | | TRAIT_DEF | MODULE | RECORD_FIELD_DEF | STATIC_DEF => { |
151 | let mut res = 0; | 151 | let mut res = 0; |
152 | for (i, (kind, text)) in trivias.enumerate() { | 152 | for (i, (kind, text)) in trivias.enumerate() { |
153 | match kind { | 153 | match kind { |