diff options
| author | bors <bors@rust-lang.org> | 2015-12-10 11:57:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-10 11:57:17 +0000 |
| commit | dc37e9f0966774b81eb2eb4dbf9fb72eceb87063 (patch) | |
| tree | d22e85e8a8286add1a5fbc6955c7ea1656b3a9e4 | |
| parent | 8eee0efd1f3f43e379abf7dfcb190bd60700eeca (diff) | |
| parent | 8e346f217a1923834580c2b358d9618dc21033f7 (diff) | |
| download | rust-dc37e9f0966774b81eb2eb4dbf9fb72eceb87063.tar.gz rust-dc37e9f0966774b81eb2eb4dbf9fb72eceb87063.zip | |
Auto merge of #30297 - oli-obk:doc/fix_intravisit, r=sanxiyn
r? @steveklabnik
| -rw-r--r-- | src/librustc_front/intravisit.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_front/intravisit.rs b/src/librustc_front/intravisit.rs index e93f5cbd0fb..cb7c5be6529 100644 --- a/src/librustc_front/intravisit.rs +++ b/src/librustc_front/intravisit.rs @@ -10,7 +10,7 @@ //! HIR walker. Each overridden visit method has full control over what //! happens with its node, it can do its own traversal of the node's children, -//! call `visit::walk_*` to apply the default traversal algorithm, or prevent +//! call `intravisit::walk_*` to apply the default traversal algorithm, or prevent //! deeper traversal by doing nothing. //! //! When visiting the HIR, the contents of nested items are NOT visited @@ -45,7 +45,7 @@ pub enum FnKind<'a> { /// Each method of the Visitor trait is a hook to be potentially /// overridden. Each method's default implementation recursively visits /// the substructure of the input via the corresponding `walk` method; -/// e.g. the `visit_mod` method by default calls `visit::walk_mod`. +/// e.g. the `visit_mod` method by default calls `intravisit::walk_mod`. /// /// Note that this visitor does NOT visit nested items by default /// (this is why the module is called `intravisit`, to distinguish it |
