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

io: add copy_bidirectional_with_sizes #6500

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix spellcheck error
  • Loading branch information
RRRadicalEdward committed Apr 21, 2024
commit 724b2d2f62b10fecc0a6fc6c8637916d32e83f81
2 changes: 1 addition & 1 deletion tokio/src/io/util/copy_bidirectional.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ where
/// it will return a tuple of the number of bytes copied from a to b
/// and the number of bytes copied from b to a, in that order.
///
/// It uses two 8Kb buffers for transferring bytes between `a` and `b` by default.
/// It uses two 8 Kb buffers for transferring bytes between `a` and `b` by default.
RRRadicalEdward marked this conversation as resolved.
Show resolved Hide resolved
/// To set your own buffers sizes use [`copy_bidirectional_with_sizes()`].
///
/// [`shutdown()`]: crate::io::AsyncWriteExt::shutdown
Expand Down
Loading