File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 10
10
11
11
//! HIR walker. Each overridden visit method has full control over what
12
12
//! happens with its node, it can do its own traversal of the node's children,
13
- //! call `visit ::walk_*` to apply the default traversal algorithm, or prevent
13
+ //! call `intravisit ::walk_*` to apply the default traversal algorithm, or prevent
14
14
//! deeper traversal by doing nothing.
15
15
//!
16
16
//! When visiting the HIR, the contents of nested items are NOT visited
@@ -45,7 +45,7 @@ pub enum FnKind<'a> {
45
45
/// Each method of the Visitor trait is a hook to be potentially
46
46
/// overridden. Each method's default implementation recursively visits
47
47
/// the substructure of the input via the corresponding `walk` method;
48
- /// e.g. the `visit_mod` method by default calls `visit ::walk_mod`.
48
+ /// e.g. the `visit_mod` method by default calls `intravisit ::walk_mod`.
49
49
///
50
50
/// Note that this visitor does NOT visit nested items by default
51
51
/// (this is why the module is called `intravisit`, to distinguish it
You can’t perform that action at this time.
0 commit comments