diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-11 15:01:57 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-12 08:52:40 +1000 |
| commit | 7e7da49f2a780917909e7aa4b5b1bb2e48900c47 (patch) | |
| tree | 2714451b46abe7db19ee8b3f7ed0bd40c49b2c41 /library/std/src/sys | |
| parent | b5b13568fb5da4ac988bde370008d6134d3dfe6c (diff) | |
| download | rust-7e7da49f2a780917909e7aa4b5b1bb2e48900c47.tar.gz rust-7e7da49f2a780917909e7aa4b5b1bb2e48900c47.zip | |
Update a cranelift patch file for formatting changes.
PR #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 #125443 and updates the patch file accordingly. The motivation is that #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`.
Diffstat (limited to 'library/std/src/sys')
| -rw-r--r-- | library/std/src/sys/pal/windows/rand.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/windows/rand.rs b/library/std/src/sys/pal/windows/rand.rs index e427546222a..09f527a09bf 100644 --- a/library/std/src/sys/pal/windows/rand.rs +++ b/library/std/src/sys/pal/windows/rand.rs @@ -1,6 +1,6 @@ +use core::{mem, ptr}; + use crate::sys::c; -use core::mem; -use core::ptr; #[cfg(not(target_vendor = "win7"))] #[inline] |
