Skip to content

Commit fb971c3

Browse files
committed
Simplify
1 parent abf7d17 commit fb971c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_syntax/src/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl<N> AstChildren<N> {
7575
impl<N: AstNode> Iterator for AstChildren<N> {
7676
type Item = N;
7777
fn next(&mut self) -> Option<N> {
78-
self.inner.by_ref().find_map(N::cast)
78+
self.inner.find_map(N::cast)
7979
}
8080
}
8181

0 commit comments

Comments
 (0)