Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MIRI error in inout_buf.rs (#755)
See rust-lang/unsafe-code-guidelines#133 Calling as_mut_ptr creates a unique reference, and as_ptr a shared reference. These 2 conflict, and one invalidates the other. Both ptr need to be reborrows of or be basically the same pointer.
- Loading branch information