Skip to content

Conversation

@martin-g
Copy link
Member

@martin-g martin-g commented Sep 5, 2025

Motivation

e53b92a improved the documentation of clear_ready() and clear_ready_matching() methods but made a small copy/paste error - the documentation of clear_ready_matching() talks about clear_ready() as this method

Solution

Fix the typos by replacing clear_ready with clear_ready_matching where wrong.

…ar_ready_matching methods

e53b92a improved the documentation of
clear_ready() and clear_ready_matching() methods but made a small
copy/paste error - the documentation of clear_ready_matching() talks
about `clear_ready()` as `this method`

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@ADD-SP ADD-SP added T-docs Topic: documentation A-tokio Area: The main tokio crate M-io Module: tokio/io labels Sep 6, 2025
@ADD-SP ADD-SP changed the title docs: Fix copy/paste error in the docs of AsyncFdReady[Mut]Guard::clear_ready_matching methods io: fix some typos in the docs of AsyncFdReadyGuard and `AsyncFdReadyMutGuard Sep 6, 2025
@ADD-SP ADD-SP changed the title io: fix some typos in the docs of AsyncFdReadyGuard and `AsyncFdReadyMutGuard io: fix some typos in the docs of AsyncFdReadyGuard and AsyncFdReadyMutGuard Sep 6, 2025
@ADD-SP ADD-SP changed the title io: fix some typos in the docs of AsyncFdReadyGuard and AsyncFdReadyMutGuard io: fix some typos in the docs of two AsyncFd readiness guards Sep 6, 2025
@ADD-SP ADD-SP changed the title io: fix some typos in the docs of two AsyncFd readiness guards io: fix typos in the docs of two AsyncFd readiness guards Sep 6, 2025
Copy link
Member

@ADD-SP ADD-SP left a comment

Choose a reason for hiding this comment

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

Thanks!

@ADD-SP ADD-SP merged commit 86400a1 into tokio-rs:master Sep 6, 2025
172 of 174 checks passed
@martin-g martin-g deleted the clear-ready-matching branch September 7, 2025 20:23
@Darksonn Darksonn mentioned this pull request Oct 14, 2025
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-io Module: tokio/io T-docs Topic: documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants