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

Apply clippy::unnecesary_to_owned and clippy::unwrap_or_default fixes throughout stacks core #5741

Merged
merged 5 commits into from
Jan 28, 2025

Conversation

jferrant
Copy link
Collaborator

to run cargo clippy --tests --all-features -- -Aclippy::all -W clippy::unnecessary_to_owned -W clippy::unwrap_or_default

@jferrant jferrant requested a review from a team as a code owner January 23, 2025 22:49
stackslib/src/net/db.rs Outdated Show resolved Hide resolved
stackslib/src/net/dns.rs Outdated Show resolved Hide resolved
stackslib/src/net/dns.rs Outdated Show resolved Hide resolved
@jbencin jbencin added the lint Related to linting/clippy/cargo warns label Jan 24, 2025
… into chore/clippy-unnecesary-to-owned-unwrap-or-default
Signed-off-by: Jacinta Ferrant <[email protected]>
…remove default implementation

Signed-off-by: Jacinta Ferrant <[email protected]>
@jferrant jferrant requested a review from a team as a code owner January 24, 2025 18:30
Copy link
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

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

LGTM assuming that failing test passes on retry.

@jbencin jbencin added this pull request to the merge queue Jan 28, 2025
Merged via the queue into develop with commit 36d49b0 Jan 28, 2025
187 of 188 checks passed
@jbencin jbencin deleted the chore/clippy-unnecesary-to-owned-unwrap-or-default branch January 28, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lint Related to linting/clippy/cargo warns
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants