diff options
author | 2024-01-19 05:08:27 -0500 | |
---|---|---|
committer | 2024-01-19 11:08:27 +0100 | |
commit | abb4a2e66cab68a6d1deb3d37377625443794cfd (patch) | |
tree | 9356ce6bed6a78dbd35d2a179203dcf35f49fda9 /src/fmt/debug.rs | |
parent | 09214ba51bdace6f6cb91740cee9514fc08d55ce (diff) | |
download | bytes-abb4a2e66cab68a6d1deb3d37377625443794cfd.tar.gz bytes-abb4a2e66cab68a6d1deb3d37377625443794cfd.tar.zst bytes-abb4a2e66cab68a6d1deb3d37377625443794cfd.zip |
BytesMut: Assert alignment of Shared (#652)
Back in #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.
Diffstat (limited to 'src/fmt/debug.rs')
0 files changed, 0 insertions, 0 deletions