diff options
| author | ultrabear <bearodark@gmail.com> | 2024-09-18 20:49:53 -0700 |
|---|---|---|
| committer | ultrabear <bearodark@gmail.com> | 2024-09-18 20:49:53 -0700 |
| commit | b7ca2b6510b854cd44fc8c46b113ef3e45986ab6 (patch) | |
| tree | a395af87998667e24fb8724469f5940a0a23ccce | |
| parent | 63f14b3a1ef7176e8bef3de4ba21579235cd534a (diff) | |
| download | rust-b7ca2b6510b854cd44fc8c46b113ef3e45986ab6.tar.gz rust-b7ca2b6510b854cd44fc8c46b113ef3e45986ab6.zip | |
run `x.py fmt`
| -rw-r--r-- | library/core/src/mem/maybe_uninit.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/library/core/src/mem/maybe_uninit.rs b/library/core/src/mem/maybe_uninit.rs index d274445f5e4..c67796ad3db 100644 --- a/library/core/src/mem/maybe_uninit.rs +++ b/library/core/src/mem/maybe_uninit.rs @@ -569,7 +569,10 @@ impl<T> MaybeUninit<T> { /// (Notice that the rules around references to uninitialized data are not finalized yet, but /// until they are, it is advisable to avoid them.) #[stable(feature = "maybe_uninit", since = "1.36.0")] - #[rustc_const_stable(feature = "const_maybe_uninit_as_mut_ptr", since = "CURRENT_RUSTC_VERSION")] + #[rustc_const_stable( + feature = "const_maybe_uninit_as_mut_ptr", + since = "CURRENT_RUSTC_VERSION" + )] #[cfg_attr(bootstrap, rustc_allow_const_fn_unstable(const_mut_refs))] #[inline(always)] pub const fn as_mut_ptr(&mut self) -> *mut T { |
