creusot
creusot copied to clipboard
Add pointer specs needed to verify `swap` on slices
Stuff needed to verify swap on slices.
TODO:
- [x] Handle
size_of - [x] Allow conversions in logic between
*mutand*const - [x] Finish the pointer specs and document their rationale
With this batch of methods I've reached the milestone of verifying 7/10 of the unsafe slice methods (the "easy" ones) from the verify-rust-std challenge.
(I have put reviewing this on my TODO list, but I am rather busy these days...)