Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix potential UB in
AlignedVec::into_boxed_slice
- Loading branch information
AlignedVec::into_boxed_slice
a941719
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't the new implementation violate the doc comment of
into_boxed_slice
?a941719
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, my bad. I was rushing to get this out the door. I'll patch that up.
a941719
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 0.7.35.