File tree 3 files changed +3
-3
lines changed
src/doc/rustc-dev-guide/src/solve
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1829,7 +1829,7 @@ pub struct PointeeInfo {
1829
1829
pub safe : Option < PointerKind > ,
1830
1830
/// If `safe` is `Some`, then the pointer is either null or dereferenceable for this many bytes.
1831
1831
/// 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
1833
1833
/// while this function is still running.
1834
1834
/// The size can be zero if the pointer is not dereferenceable.
1835
1835
pub size : Size ,
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 @@ -33,7 +33,7 @@ For opaque types in the defining scope and in the implicit-negative coherence mo
33
33
always done in two steps. Outside of the defining scope ` normalizes-to ` for opaques always
34
34
returns ` Err(NoSolution) ` .
35
35
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.
37
37
38
38
In the implicit-negative coherence mode, this currently always results in ambiguity without
39
39
interacting 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