Rollup merge of #126287 - nnethercote:reformat-cranelift-patch, r=bjorn3 · model-checking/verify-rust-std@80467da (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 80467da
Rollup merge of rust-lang#126287 - nnethercote:reformat-cranelift-patch, r=bjorn3
Update a cranelift patch file for formatting changes. PR rust-lang#125443 will reformat all the use declarations in the repo. This would break a patch kept in `rustc_codegen_cranelift` that gets applied to `library/std/src/sys/pal/windows/rand.rs`. So this commit formats the use declarations in `library/std/src/sys/pal/windows/rand.rs` in advance of rust-lang#125443 and updates the patch file accordingly. The motivation is that rust-lang#125443 is a huge change and we want to get fiddly little changes like this out of the way so it can be nothing more than an `x fmt --all`. r? ``@bjorn3``
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
1 | +use core::{mem, ptr}; | |
2 | + | |
1 | 3 | use crate::sys::c; |
2 | -use core::mem; | |
3 | -use core::ptr; | |
4 | 4 | |
5 | 5 | #[cfg(not(target_vendor = "win7"))] |
6 | 6 | #[inline] |