Skip to content

Commit

Permalink
Rollup merge of rust-lang#45105 - camsteffen:patch-2, r=pnkfelix
Browse files Browse the repository at this point in the history
Fix rustc documentation typo

I'm new to rustc but this looks like a typo.
  • Loading branch information
kennytm committed Oct 12, 2017
2 parents 81ea49f + e6728ec commit ff53dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/hir/itemlikevisit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ use super::intravisit::Visitor;
/// - Example: Lifetime resolution, which wants to bring lifetimes declared on the
/// impl into scope while visiting the impl-items, and then back out again.
/// - How: Implement `intravisit::Visitor` and override the
/// `visit_nested_map()` methods to return
/// `nested_visit_map()` methods to return
/// `NestedVisitorMap::All`. Walk your crate with
/// `intravisit::walk_crate()` invoked on `tcx.hir.krate()`.
/// - Pro: Visitor methods for any kind of HIR node, not just item-like things.
Expand Down

0 comments on commit ff53dc7

Please sign in to comment.