diff options
| author | kennytm <kennytm@gmail.com> | 2017-10-12 16:14:25 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2017-10-13 01:58:42 +0800 |
| commit | ff53dc7166e628bd6853a3c9b01d056ec61b1959 (patch) | |
| tree | 1df9b257183035dfe2241b0ee3ba101c0241882d | |
| parent | 81ea49f2442167b0c7e45a5539de72dd4d1e2f62 (diff) | |
| parent | e6728ecdbb52fbf5337a8d962fefcf83a6c65a3f (diff) | |
| download | rust-ff53dc7166e628bd6853a3c9b01d056ec61b1959.tar.gz rust-ff53dc7166e628bd6853a3c9b01d056ec61b1959.zip | |
Rollup merge of #45105 - camsteffen:patch-2, r=pnkfelix
Fix rustc documentation typo I'm new to rustc but this looks like a typo.
| -rw-r--r-- | src/librustc/hir/itemlikevisit.rs | 2 |
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. |
