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

return_self_not_must_use document #[must_use] on the type #8209

Closed

Conversation

xFrednet
Copy link
Member

@xFrednet xFrednet commented Jan 1, 2022

Inspired by a discussion in #8197


r? @llogiq

changelog: none

The lint is this on nightly, therefore no changelog entry for you xD

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jan 1, 2022
@xFrednet xFrednet force-pushed the 8197-mention-attribute-on-struct branch from a219ca6 to 2d3b1ae Compare January 1, 2022 12:44
Copy link
Contributor

@llogiq llogiq left a comment

Choose a reason for hiding this comment

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

Small documentation nit. I believe @GuillaumeGomez also had some suggestion.

clippy_lints/src/return_self_not_must_use.rs Outdated Show resolved Hide resolved
@xFrednet xFrednet force-pushed the 8197-mention-attribute-on-struct branch from 2d3b1ae to 27b297c Compare January 1, 2022 12:46
@xFrednet
Copy link
Member Author

xFrednet commented Jan 1, 2022

Good suggestions, it seems like I'm not fully awake yet^^. I squashed and pushed both!

@GuillaumeGomez
Copy link
Member

Thanks for the improvements!

@llogiq
Copy link
Contributor

llogiq commented Jan 1, 2022

Thank you! @bors r+ squash

@bors
Copy link
Contributor

bors commented Jan 1, 2022

📌 Commit c049d1e has been approved by llogiq

@bors
Copy link
Contributor

bors commented Jan 1, 2022

⌛ Testing commit c049d1e with merge 7616eb0...

bors added a commit that referenced this pull request Jan 1, 2022
…ogiq

return_self_not_must_use document `#[must_use]` on the type

Inspired by a discussion in #8197

---

r? `@llogiq`

changelog: none

The lint is this on nightly, therefore no changelog entry for you xD
@bors
Copy link
Contributor

bors commented Jan 1, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 7616eb0 to master...

@camsteffen
Copy link
Contributor

bors squash-merged it

@camsteffen camsteffen closed this Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants