mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-11-22 06:42:25 +00:00
09dd2ffd68
* Add `allocation::{try_,}cast_{arc,rc}`, and add `{wrap,peel}_{arc,rc}` to `TransparentWrapperAlloc`. * Avoid intermediate slice reference in `try_cast_slice_{arc,rc}`. * remove `unsafe` block; run `cargo +nightly fmt` (ignoring files I didn't modify) * Make `cast_rc` (etc) have the same bounds as `cast_mut`, due to the existence of `Rc::get_mut_unchecked`. |
||
---|---|---|
.. | ||
array_tests.rs | ||
cast_slice_tests.rs | ||
derive.rs | ||
doc_tests.rs | ||
offset_of_tests.rs | ||
std_tests.rs | ||
transparent.rs | ||
wrapper_forgets.rs |