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

Unalign::update docs suggest DerefMut #273

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Unalign::update docs suggest DerefMut #273

merged 1 commit into from
Aug 17, 2023

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Aug 16, 2023

For T: Unaligned, Unalign<T>: DerefMut. Using that impl will usually be faster and more ergonomic than using update.

Closes #262

For `T: Unaligned`, `Unalign<T>: DerefMut`. Using that impl will usually
be faster and more ergonomic than using `update`.

Closes #262
@joshlf joshlf merged commit b7505f7 into main Aug 17, 2023
149 checks passed
@joshlf joshlf deleted the unalign-update-docs branch August 17, 2023 00:00
joshlf added a commit that referenced this pull request Aug 23, 2023
For `T: Unaligned`, `Unalign<T>: DerefMut`. Using that impl will usually
be faster and more ergonomic than using `update`.

Closes #262
joshlf added a commit that referenced this pull request Aug 23, 2023
For `T: Unaligned`, `Unalign<T>: DerefMut`. Using that impl will usually
be faster and more ergonomic than using `update`.

Closes #262
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.

Unalign::update docs should suggest DerefMut for unaligned types
1 participant