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

Clarifying actions of clear and truncate. #508

Merged
merged 1 commit into from Aug 24, 2021
Merged

Clarifying actions of clear and truncate. #508

merged 1 commit into from Aug 24, 2021

Conversation

chotchki
Copy link
Contributor

I have added to the documentation on the clear and truncate functions to note that the capacity should be unaffected when they are called.

If my reading of the code is incorrect please reject this commit.

Recreation of pull request #505 to redo the checks.

I have added to the documentation on the clear and truncate functions to note that the capacity should be unaffected when they are called.

If my reading of the code is incorrect please reject this commit.
Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Thanks.

@Darksonn Darksonn merged commit 55e2968 into tokio-rs:master Aug 24, 2021
@Darksonn Darksonn mentioned this pull request Aug 25, 2021
lelongg pushed a commit to lelongg/bytes that referenced this pull request Jan 9, 2023
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.

None yet

2 participants