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

Add #[must_use] to builder types #139

Merged
merged 2 commits into from
Jan 28, 2022
Merged

Conversation

dvdplm
Copy link
Contributor

@dvdplm dvdplm commented Jan 21, 2022

Seems like the CI's Rust version's clippy has return-self-not-must-use enabled. Not sure I'm 100% convinced we need this but it makes some sense that builders be #[must_use] I guess.

Seems like the CI's Rust version's clippy has return-self-not-must-use enabled. Not sure I'm 100% convinced we need this but it makes some sense that builders be `#[must_use]` I guess.
@dvdplm dvdplm requested a review from jsdw January 21, 2022 08:59
@dvdplm dvdplm self-assigned this Jan 21, 2022
Copy link
Member

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

UI test needs fixing though

@ascjones ascjones merged commit 7352c4d into master Jan 28, 2022
@ascjones ascjones deleted the dp-return-self-not-must-use branch January 28, 2022 09: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.

None yet

3 participants