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> {
10571057 in_which : & parts[ ..parts. len ( ) - 1 ] ,
10581058 } ;
10591059
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| {
10611061 self . hir_to_node_id ( hir)
10621062 } )
10631063 }
@@ -1198,7 +1198,7 @@ impl<'a> NodesMatchingSuffix<'a> {
11981198 name == & * * self . item_name && self . suffix_matches ( parent_of_n)
11991199 }
12001200
1201- fn matces_suffix ( & self , hir : HirId ) -> bool {
1201+ fn matches_suffix ( & self , hir : HirId ) -> bool {
12021202 let name = match self . map . find_entry ( hir) . map ( |entry| entry. node ) {
12031203 Some ( Node :: Item ( n) ) => n. name ( ) ,
12041204 Some ( Node :: ForeignItem ( n) ) => n. name ( ) ,
You can’t perform that action at this time.
0 commit comments