rust/library/alloc/src
Josh Stone f4d9d1a0ea Use &raw in the standard library
Since the stabilization in #127679 has reached stage0, 1.82-beta, we can
start using `&raw` freely, and even the soft-deprecated `ptr::addr_of!`
and `ptr::addr_of_mut!` can stop allowing the unstable feature.

I intentionally did not change any documentation or tests, but the rest
of those macro uses are all now using `&raw const` or `&raw mut` in the
standard library.
2024-09-25 17:03:20 -07:00
..
alloc Reformat use declarations. 2024-07-29 08:26:52 +10:00
boxed Use &raw in the standard library 2024-09-25 17:03:20 -07:00
collections Use &raw in the standard library 2024-09-25 17:03:20 -07:00
ffi Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
raw_vec Polymorphize RawVec 2024-08-09 20:06:26 -04:00
rc Add str.as_str() for easy dereferencing of Box<str> 2024-09-19 16:25:56 +01:00
slice Reformat use declarations. 2024-07-29 08:26:52 +10:00
sync Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
testing Reformat use declarations. 2024-07-29 08:26:52 +10:00
vec Use &raw in the standard library 2024-09-25 17:03:20 -07:00
alloc.rs read_volatile __rust_no_alloc_shim_is_unstable in alloc_zeroed 2024-09-17 22:26:21 -04:00
borrow.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
boxed.rs Use &raw in the standard library 2024-09-25 17:03:20 -07:00
fmt.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Add str.as_str() for easy dereferencing of Box<str> 2024-09-19 16:25:56 +01:00
macros.rs Mark format! with must_use hint 2024-07-06 14:24:20 +02:00
raw_vec.rs add FIXME(const-hack) 2024-09-08 23:08:40 +02:00
rc.rs Use &raw in the standard library 2024-09-25 17:03:20 -07:00
slice.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
str.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
string.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
sync.rs Use &raw in the standard library 2024-09-25 17:03:20 -07:00
task.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
tests.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00