Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BytesMut: Assert alignment of Shared
Back in tokio-rs#362, an assertion was added to ensure that the alignment of bytes::Shared is even so we can use the least significant bit as a flag. bytes_mut::Shared uses the same technique but has no such assertion so I've added one here.
- Loading branch information