Skip to content

Conversation

scottlamb
Copy link
Contributor

The new name matches the Rust convention for methods that consume self, as referred to in the following clippy lint: https://rust-lang.github.io/rust-clippy/stable/index.html#wrong_self_convention This may help avoid bugs such as that fixed in #773.

The new name matches the Rust convention for methods that
consume `self`, as referred to in the following clippy lint:
<https://rust-lang.github.io/rust-clippy/stable/index.html#wrong_self_convention>
This may help avoid bugs such as that fixed in tokio-rs#773.
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. One nit:

Co-authored-by: Alice Ryhl <[email protected]>
@Darksonn Darksonn enabled auto-merge (squash) March 7, 2025 13:42
@Darksonn Darksonn merged commit 141cbc2 into tokio-rs:master Mar 7, 2025
18 checks passed
@scottlamb scottlamb deleted the into-rename branch March 7, 2025 13:59
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