@@ -600,7 +600,7 @@ pub enum BorrowKind {
600600 * be a sublifetime of `'x...'z`.
601601 * - The closure creator knows which upvars were borrowed by the closure
602602 * and thus `x...z` will be reserved for `'x...'z` respectively.
603- * - Through mutation, the borrowed upvars can actually escape the
603+ * - Through mutation, the borrowed upvars can actually escape
604604 * the closure, so sometimes it is necessary for them to be larger
605605 * than the closure lifetime itself.
606606 */
@@ -3377,8 +3377,8 @@ pub fn expr_kind(tcx: ctxt,
33773377 // the AST type in cast node---but (at the time of this
33783378 // writing) it's not easy to distinguish casts to traits
33793379 // from other casts based on the AST. This should be
3380- // easier in the future, when casts to traits would like
3381- // like @Foo, ~Foo, or &Foo.
3380+ // easier in the future, when casts to traits
3381+ // would like @Foo, ~Foo, or &Foo.
33823382 RvalueDatumExpr
33833383 }
33843384 }
@@ -4240,7 +4240,7 @@ pub fn lookup_simd(tcx: ctxt, did: DefId) -> bool {
42404240 has_attr ( tcx, did, "simd" )
42414241}
42424242
4243- // Obtain the the representation annotation for a definition.
4243+ // Obtain the representation annotation for a definition.
42444244pub fn lookup_repr_hint ( tcx : ctxt , did : DefId ) -> attr:: ReprAttr {
42454245 let mut acc = attr:: ReprAny ;
42464246 ty:: each_attr ( tcx, did, |meta| {
0 commit comments