diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/syntax/src/ast/node_ext.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/syntax/src/ast/node_ext.rs b/crates/syntax/src/ast/node_ext.rs index 8a8c2319b..2aa472fb4 100644 --- a/crates/syntax/src/ast/node_ext.rs +++ b/crates/syntax/src/ast/node_ext.rs | |||
@@ -197,9 +197,9 @@ impl ast::UseTreeList { | |||
197 | pub fn has_inner_comment(&self) -> bool { | 197 | pub fn has_inner_comment(&self) -> bool { |
198 | self.syntax() | 198 | self.syntax() |
199 | .children_with_tokens() | 199 | .children_with_tokens() |
200 | .filter_map(|it| it.into_token()) | 200 | .filter_map(|it| it.into_token()) |
201 | .find_map(ast::Comment::cast) | 201 | .find_map(ast::Comment::cast) |
202 | .is_some() | 202 | .is_some() |
203 | } | 203 | } |
204 | } | 204 | } |
205 | 205 | ||