3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ impl<'a> Contains for Foo {
195
195
Please note that unconstrained lifetime parameters are not supported if they are
196
196
being used by an associated type.
197
197
198
- In cases where the associated type's lifetime is meant to be tied to the the
198
+ In cases where the associated type's lifetime is meant to be tied to the
199
199
self type, and none of the methods on the trait need ownership or different
200
200
mutability, then an option is to implement the trait on a borrowed type:
201
201
Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ pub unsafe trait CloneToUninit {
427
427
/// read or dropped, because even if it was previously valid, it may have been partially
428
428
/// overwritten.
429
429
///
430
- /// The caller may wish to to take care to deallocate the allocation pointed to by `dest`,
430
+ /// The caller may wish to take care to deallocate the allocation pointed to by `dest`,
431
431
/// if applicable, to avoid a memory leak (but this is not a requirement).
432
432
///
433
433
/// Implementors should avoid leaking values by, upon unwinding, dropping all component values
Original file line number Diff line number Diff line change @@ -1743,8 +1743,8 @@ pub(crate) mod builtin {
1743
1743
/* compiler built-in */
1744
1744
}
1745
1745
1746
- /// Provide a list of type aliases and other opaque-type-containing type definitions.
1747
- /// This list will be used in the body of the item it is applied to to define opaque
1746
+ /// Provide a list of type aliases and other opaque-type-containing type definitions
1747
+ /// to an item with a body. This list will be used in that body to define opaque
1748
1748
/// types' hidden types.
1749
1749
/// Can only be applied to things that have bodies.
1750
1750
#[ unstable(
0 commit comments