Skip to content

Commit a460ceb

Browse files
authored
Rollup merge of rust-lang#45105 - camsteffen:patch-2, r=pnkfelix
Fix rustc documentation typo I'm new to rustc but this looks like a typo.
2 parents 4627306 + e6728ec commit a460ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/itemlikevisit.rs

Lines changed: 1 addition & 1 deletion
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)