mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
indentation
This commit is contained in:
parent
58c1949a7b
commit
ddbf484acf
@ -197,9 +197,9 @@ impl ast::UseTreeList {
|
||||
pub fn has_inner_comment(&self) -> bool {
|
||||
self.syntax()
|
||||
.children_with_tokens()
|
||||
.filter_map(|it| it.into_token())
|
||||
.find_map(ast::Comment::cast)
|
||||
.is_some()
|
||||
.filter_map(|it| it.into_token())
|
||||
.find_map(ast::Comment::cast)
|
||||
.is_some()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user