aboutsummaryrefslogtreecommitdiff
path: root/src/fmt/debug.rs
diff options
context:
space:
mode:
authorGravatar Brad Dunbar <dunbarb2@gmail.com> 2024-01-19 05:08:27 -0500
committerGravatar GitHub <noreply@github.com> 2024-01-19 11:08:27 +0100
commitabb4a2e66cab68a6d1deb3d37377625443794cfd (patch)
tree9356ce6bed6a78dbd35d2a179203dcf35f49fda9 /src/fmt/debug.rs
parent09214ba51bdace6f6cb91740cee9514fc08d55ce (diff)
downloadbytes-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