Skip to content

Commit e6728ec

Browse files
authored
fix documentation typo
1 parent ff8e264 commit e6728ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/itemlikevisit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ use super::intravisit::Visitor;
4141
/// - Example: Lifetime resolution, which wants to bring lifetimes declared on the
4242
/// impl into scope while visiting the impl-items, and then back out again.
4343
/// - How: Implement `intravisit::Visitor` and override the
44-
/// `visit_nested_map()` methods to return
44+
/// `nested_visit_map()` methods to return
4545
/// `NestedVisitorMap::All`. Walk your crate with
4646
/// `intravisit::walk_crate()` invoked on `tcx.hir.krate()`.
4747
/// - Pro: Visitor methods for any kind of HIR node, not just item-like things.

0 commit comments

Comments
 (0)