about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCameron Steffen <cam.steffen94@gmail.com>2017-10-08 10:40:52 -0500
committerGitHub <noreply@github.com>2017-10-08 10:40:52 -0500
commite6728ecdbb52fbf5337a8d962fefcf83a6c65a3f (patch)
tree9c37c1a5ad9cbc296335b0c8c5dd9ea74e7febde /src
parentff8e264950b070578c8c8187241f4ca55ebf28fe (diff)
downloadrust-e6728ecdbb52fbf5337a8d962fefcf83a6c65a3f.tar.gz
rust-e6728ecdbb52fbf5337a8d962fefcf83a6c65a3f.zip
fix documentation typo
Diffstat (limited to 'src')
-rw-r--r--src/librustc/hir/itemlikevisit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/hir/itemlikevisit.rs b/src/librustc/hir/itemlikevisit.rs
index ce1a34faf5e..2221ecf07b4 100644
--- a/src/librustc/hir/itemlikevisit.rs
+++ b/src/librustc/hir/itemlikevisit.rs
@@ -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.