Skip to content

Commit 21132a7

Browse files
bors[bot]Veetaha
andauthored
Merge #4701
4701: Simplify r=kjeremy a=Veetaha Co-authored-by: veetaha <veetaha2@gmail.com>
2 parents abf7d17 + fb971c3 commit 21132a7

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)