Skip to content

Revert "Reuse capacity when possible in <BytesMut as Buf>::advance impl"#726

Merged
Darksonn merged 1 commit into
masterfrom
alice/revert-advance-reuse
Aug 1, 2024
Merged

Revert "Reuse capacity when possible in <BytesMut as Buf>::advance impl"#726
Darksonn merged 1 commit into
masterfrom
alice/revert-advance-reuse

Conversation

@Darksonn
Copy link
Copy Markdown
Member

@Darksonn Darksonn commented Aug 1, 2024

Too much code relies on this behavior. We can't change it.

Closes: #725

Copy link
Copy Markdown
Contributor

@camshaft camshaft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for taking care of it so quickly!

@Darksonn Darksonn merged commit f488be4 into master Aug 1, 2024
@Darksonn Darksonn deleted the alice/revert-advance-reuse branch August 1, 2024 20:38
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.

BytesMut::advance no longer advances cursor

4 participants