diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-01-25 17:08:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-25 17:08:18 +0100 |
| commit | ee74420e7474a4e7d0e4a4f187f791aa68260cb8 (patch) | |
| tree | a8445db1c63e8cf92a5cbf22daee7db3281805bf | |
| parent | 66497d50f898d3f6e74a4ccdd4050d1825779c65 (diff) | |
| parent | e7c0f747e3c322503ea26790586796e93eb7b067 (diff) | |
| download | rust-ee74420e7474a4e7d0e4a4f187f791aa68260cb8.tar.gz rust-ee74420e7474a4e7d0e4a4f187f791aa68260cb8.zip | |
Rollup merge of #39267 - king6cong:master, r=steveklabnik
doc comment rewording
| -rw-r--r-- | src/librustc/hir/intravisit.rs | 2 | ||||
| -rw-r--r-- | src/librustc/hir/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/hir/intravisit.rs b/src/librustc/hir/intravisit.rs index fb8d6618e89..cc6d61c21c6 100644 --- a/src/librustc/hir/intravisit.rs +++ b/src/librustc/hir/intravisit.rs @@ -154,7 +154,7 @@ pub trait Visitor<'v> : Sized { /// hashed separately. /// /// **If for some reason you want the nested behavior, but don't - /// have a `Map` are your disposal:** then you should override the + /// have a `Map` at your disposal:** then you should override the /// `visit_nested_XXX` methods, and override this method to /// `panic!()`. This way, if a new `visit_nested_XXX` variant is /// added in the future, we will see the panic in your code and diff --git a/src/librustc/hir/mod.rs b/src/librustc/hir/mod.rs index 3d9fa4e5a06..fe086347884 100644 --- a/src/librustc/hir/mod.rs +++ b/src/librustc/hir/mod.rs @@ -1014,7 +1014,7 @@ pub enum QPath { /// /// UFCS source paths can desugar into this, with `Vec::new` turning into /// `<Vec>::new`, and `T::X::Y::method` into `<<<T>::X>::Y>::method`, - /// the `X` and `Y` nodes being each a `TyPath(QPath::TypeRelative(..))`. + /// the `X` and `Y` nodes each being a `TyPath(QPath::TypeRelative(..))`. TypeRelative(P<Ty>, P<PathSegment>) } |
