Skip to content

Unalign::update docs suggest DerefMut#273

Merged
joshlf merged 1 commit intomainfrom
unalign-update-docs
Aug 17, 2023
Merged

Unalign::update docs suggest DerefMut#273
joshlf merged 1 commit intomainfrom
unalign-update-docs

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
@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