File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/doc/rustc-dev-guide/src/solve Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1829,7 +1829,7 @@ pub struct PointeeInfo {
18291829 pub safe : Option < PointerKind > ,
18301830 /// If `safe` is `Some`, then the pointer is either null or dereferenceable for this many bytes.
18311831 /// On a function argument, "dereferenceable" here means "dereferenceable for the entire duration
1832- /// of this function call", i.e. it is UB for the memory that this pointer points to to be freed
1832+ /// of this function call", i.e. it is UB for the memory that this pointer points to be freed
18331833 /// while this function is still running.
18341834 /// The size can be zero if the pointer is not dereferenceable.
18351835 pub size : Size ,
Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ pub unsafe trait CloneToUninit {
427427 /// read or dropped, because even if it was previously valid, it may have been partially
428428 /// overwritten.
429429 ///
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`,
431431 /// if applicable, to avoid a memory leak (but this is not a requirement).
432432 ///
433433 /// Implementors should avoid leaking values by, upon unwinding, dropping all component values
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ For opaque types in the defining scope and in the implicit-negative coherence mo
3333always done in two steps. Outside of the defining scope ` normalizes-to ` for opaques always
3434returns ` Err(NoSolution) ` .
3535
36- We start by trying to to assign the expected type as a hidden type.
36+ We start by trying to assign the expected type as a hidden type.
3737
3838In the implicit-negative coherence mode, this currently always results in ambiguity without
3939interacting with the opaque types storage. We could instead add allow 'defining' all opaque types,
You can’t perform that action at this time.
0 commit comments