We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff8e264 commit e6728ecCopy full SHA for e6728ec
src/librustc/hir/itemlikevisit.rs
@@ -41,7 +41,7 @@ use super::intravisit::Visitor;
41
/// - Example: Lifetime resolution, which wants to bring lifetimes declared on the
42
/// impl into scope while visiting the impl-items, and then back out again.
43
/// - How: Implement `intravisit::Visitor` and override the
44
-/// `visit_nested_map()` methods to return
+/// `nested_visit_map()` methods to return
45
/// `NestedVisitorMap::All`. Walk your crate with
46
/// `intravisit::walk_crate()` invoked on `tcx.hir.krate()`.
47
/// - Pro: Visitor methods for any kind of HIR node, not just item-like things.
0 commit comments