Skip to content

Commit ee74420

Browse files
Rollup merge of #39267 - king6cong:master, r=steveklabnik
doc comment rewording
2 parents 66497d5 + e7c0f74 commit ee74420

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc/hir/intravisit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ pub trait Visitor<'v> : Sized {
154154
/// hashed separately.
155155
///
156156
/// **If for some reason you want the nested behavior, but don't
157-
/// have a `Map` are your disposal:** then you should override the
157+
/// have a `Map` at your disposal:** then you should override the
158158
/// `visit_nested_XXX` methods, and override this method to
159159
/// `panic!()`. This way, if a new `visit_nested_XXX` variant is
160160
/// added in the future, we will see the panic in your code and

src/librustc/hir/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ pub enum QPath {
10141014
///
10151015
/// UFCS source paths can desugar into this, with `Vec::new` turning into
10161016
/// `<Vec>::new`, and `T::X::Y::method` into `<<<T>::X>::Y>::method`,
1017-
/// the `X` and `Y` nodes being each a `TyPath(QPath::TypeRelative(..))`.
1017+
/// the `X` and `Y` nodes each being a `TyPath(QPath::TypeRelative(..))`.
10181018
TypeRelative(P<Ty>, P<PathSegment>)
10191019
}
10201020

0 commit comments

Comments
 (0)