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

Assert that the alignment of Shared is appropriate #362

Merged
merged 1 commit into from
Jan 23, 2020
Merged

Assert that the alignment of Shared is appropriate #362

merged 1 commit into from
Jan 23, 2020

Conversation

udoprog
Copy link
Contributor

@udoprog udoprog commented Jan 21, 2020

No description provided.

@seanmonstar seanmonstar merged commit 788cb15 into tokio-rs:master Jan 23, 2020
@udoprog udoprog deleted the assert-alignment branch January 23, 2020 18:07
braddunbar added a commit to braddunbar/bytes that referenced this pull request Jan 18, 2024
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.
Darksonn pushed a commit that referenced this pull request Jan 19, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants