mirror of
https://github.com/rust-lang/rust.git
synced 2026-07-15 04:30:32 -04:00
a705750d6e
slice: make swap delegate to swap_unchecked It had duplicate unsafe code that already existed in swap_unchecked. So I just made swap call swap_unchecked instead of copying the same logic twice.