aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/src/ast
diff options
context:
space:
mode:
authorAdnoC <[email protected]>2020-12-30 05:56:00 +0000
committerAdnoC <[email protected]>2020-12-30 05:56:00 +0000
commitddbf484acf15efd73b61ac80a941730b507c01de (patch)
tree721f9183ad55b80a77b1ae787e6e5f299def28ef /crates/syntax/src/ast
parent58c1949a7b49ca6edc8dc4080b0850a346ad8bd3 (diff)
indentation
Diffstat (limited to 'crates/syntax/src/ast')
-rw-r--r--crates/syntax/src/ast/node_ext.rs6
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