File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ pub mod nested_filter {
152152 /// visit fn bodies for fns that it encounters, and closure bodies, but
153153 /// skip over nested item-like things.
154154 ///
155- /// See the comments on `ItemLikeVisitor` for more details on the overall
155+ /// See the comments at [`rustc_hir::intravisit`] for more details on the overall
156156 /// visit strategy.
157157 pub trait NestedFilter < ' hir > {
158158 type Map : Map < ' hir > ;
@@ -229,8 +229,8 @@ pub trait Visitor<'v>: Sized {
229229 /// `Self::NestedFilter` is `nested_filter::None`, this method does
230230 /// nothing. **You probably don't want to override this method** --
231231 /// instead, override [`Self::NestedFilter`] or use the "shallow" or
232- /// "deep" visit patterns described on
233- /// `itemlikevisit::ItemLikeVisitor` . The only reason to override
232+ /// "deep" visit patterns described at
233+ /// [`rustc_hir::intravisit`] . The only reason to override
234234 /// this method is if you want a nested pattern but cannot supply a
235235 /// [`Map`]; see `nested_visit_map` for advice.
236236 fn visit_nested_item ( & mut self , id : ItemId ) {
You can’t perform that action at this time.
0 commit comments