File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1057,7 +1057,7 @@ impl<'hir> Map<'hir> {
1057
1057
in_which : & parts[ ..parts. len ( ) - 1 ] ,
1058
1058
} ;
1059
1059
1060
- self . all_ids ( ) . filter ( move |hir| nodes. matces_suffix ( * hir) ) . map ( move |hir| {
1060
+ self . all_ids ( ) . filter ( move |hir| nodes. matches_suffix ( * hir) ) . map ( move |hir| {
1061
1061
self . hir_to_node_id ( hir)
1062
1062
} )
1063
1063
}
@@ -1198,7 +1198,7 @@ impl<'a> NodesMatchingSuffix<'a> {
1198
1198
name == & * * self . item_name && self . suffix_matches ( parent_of_n)
1199
1199
}
1200
1200
1201
- fn matces_suffix ( & self , hir : HirId ) -> bool {
1201
+ fn matches_suffix ( & self , hir : HirId ) -> bool {
1202
1202
let name = match self . map . find_entry ( hir) . map ( |entry| entry. node ) {
1203
1203
Some ( Node :: Item ( n) ) => n. name ( ) ,
1204
1204
Some ( Node :: ForeignItem ( n) ) => n. name ( ) ,
You can’t perform that action at this time.
0 commit comments