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

Docs: Fix swapped examples for TcpSocket::set_nodelay and TcpSocket::nodelay #6840

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

BenjaminRi
Copy link
Contributor

The examples were swapped, I also renamed the variable stream to socket since all the other examples only call it stream after a successful connect call.

Situation before:

Screenshot_20240912_143052


Situation after:

Screenshot_20240912_143108

@BenjaminRi BenjaminRi changed the title Fix swapped examples for TcpSocket::set_nodelay and TcpSocket::nodelay Docs: Fix swapped examples for TcpSocket::set_nodelay and TcpSocket::nodelay Sep 12, 2024
@Darksonn Darksonn added T-docs Topic: documentation A-tokio Area: The main tokio crate M-net Module: tokio/net labels Sep 12, 2024
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.

Thank you!

@Darksonn Darksonn merged commit a249654 into tokio-rs:master Sep 12, 2024
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-net Module: tokio/net T-docs Topic: documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants