mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Simplify
This commit is contained in:
parent
abf7d1747d
commit
fb971c3bce
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ impl<N> AstChildren<N> {
|
|||
impl<N: AstNode> Iterator for AstChildren<N> {
|
||||
type Item = N;
|
||||
fn next(&mut self) -> Option<N> {
|
||||
self.inner.by_ref().find_map(N::cast)
|
||||
self.inner.find_map(N::cast)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue