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

Replace BufMut::put with BufMut::put_slice in Writer impl #745

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

paolobarbolini
Copy link
Contributor

This makes the Writer::write implementation call BufMut::put_slice instead of going through BufMut::put, which has to handle non-contiguous Bufs.

@seanmonstar seanmonstar enabled auto-merge (squash) November 1, 2024 18:13
@seanmonstar seanmonstar merged commit 4cd8969 into tokio-rs:master Nov 1, 2024
15 checks passed
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.

2 participants