Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BytesMut: Assert alignment of Shared #652

Merged
merged 1 commit into from
Jan 19, 2024

Commits on Jan 18, 2024

  1. 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.
    braddunbar committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a037770 View commit details
    Browse the repository at this point in the history