| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
|
|
Fixes #76367.
|
|
rename get_{ref, mut} to assume_init_{ref,mut} in Maybeuninit
References #63568
Rework with comments addressed from #66174
Have replaced most of the occurrences I've found, hopefully didn't miss out anything
r? @RalfJung
(thanks @danielhenrymantilla for the initial work on this)
|
|
Also doing fmt inplace as requested.
|
|
|
|
I think this communicates the intent better, and is shorter anyway.
|
|
Remove `#[cfg(miri)]` from OnceCell tests
They were carried over from once_cell crate, but they are not entirely
correct (as miri now supports more things), and we don't run miri
tests for std, so let's just remove them.
Maybe one day we'll run miri in std, but then we can just re-install
these attributes.
|
|
They were carried over from once_cell crate, but they are not entirely
correct (as miri now supports more things), and we don't run miri
tests for std, so let's just remove them.
Maybe one day we'll run miri in std, but then we can just re-install
these attributes.
|
|
See the failed build in
https://github.com/rust-lang/rust/pull/75555#issuecomment-675016718
for an example where we need this in real life
|
|
The logic here is the same as for Send&Sync impls.
|
|
|