Fix spelling errors in documentation.

This commit is contained in:
Joseph Crail 2015-05-04 13:21:27 -04:00
parent a979efc2f9
commit 464069a4bf
8 changed files with 9 additions and 9 deletions

View file

@ -461,7 +461,7 @@ impl<'a,'tcx> InferCtxtExt for InferCtxt<'a,'tcx> {
/// Constructs and returns a substitution that, for a given type
/// scheme parameterized by `generics`, will replace every generic
/// parmeter in the type with a skolemized type/region (which one can
/// parameter in the type with a skolemized type/region (which one can
/// think of as a "fresh constant", except at the type/region level of
/// reasoning).
///

View file

@ -1908,7 +1908,7 @@ pub enum Predicate<'tcx> {
}
impl<'tcx> Predicate<'tcx> {
/// Performs a substituion suitable for going from a
/// Performs a substitution suitable for going from a
/// poly-trait-ref to supertraits that must hold if that
/// poly-trait-ref holds. This is slightly different from a normal
/// substitution in terms of what happens with bound regions. See