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

Fix clippy::needless_borrow throughout stackslib #5651

Merged
merged 19 commits into from
Jan 24, 2025

Conversation

jferrant
Copy link
Collaborator

@jferrant jferrant commented Jan 4, 2025

No description provided.

@jferrant jferrant requested a review from a team as a code owner January 4, 2025 01:26
stackslib/src/net/p2p.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@jbencin jbencin left a comment

Choose a reason for hiding this comment

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

This is a huge PR for a single lint. I remember one of the first things I noticed about this repo was how many unnecessary refs and &s there were

I made some comments about code this PR touched but you didn't write, I figure it's a good opportunity to clean these things up

obycode
obycode previously approved these changes Jan 8, 2025
… into fix/clippy-ci-stacks-lib-needless-borrow
Signed-off-by: Jacinta Ferrant <[email protected]>
obycode
obycode previously approved these changes Jan 9, 2025
jbencin
jbencin previously approved these changes Jan 9, 2025
@jferrant jferrant enabled auto-merge January 9, 2025 19:59
@jferrant jferrant disabled auto-merge January 9, 2025 20:00
@jferrant jferrant enabled auto-merge January 13, 2025 22:04
@jferrant jferrant disabled auto-merge January 13, 2025 22:05
@jferrant jferrant dismissed stale reviews from obycode and jbencin via 2d758c6 January 14, 2025 18:28
obycode
obycode previously approved these changes Jan 21, 2025
@jferrant
Copy link
Collaborator Author

I def broke something in here. stacks_db_staging_microblocks_multiple_descendants is failing locally. Looking into

Signed-off-by: Jacinta Ferrant <[email protected]>
obycode
obycode previously approved these changes Jan 22, 2025
… into fix/clippy-ci-stacks-lib-needless-borrow
Signed-off-by: Jacinta Ferrant <[email protected]>
obycode
obycode previously approved these changes Jan 22, 2025
… into fix/clippy-ci-stacks-lib-needless-borrow
obycode
obycode previously approved these changes Jan 23, 2025
jbencin
jbencin previously approved these changes Jan 23, 2025
… into fix/clippy-ci-stacks-lib-needless-borrow
@jferrant jferrant dismissed stale reviews from jbencin and obycode via 399e284 January 23, 2025 22:51
@jferrant jferrant requested review from jbencin and obycode January 23, 2025 22:51
@jferrant jferrant enabled auto-merge January 23, 2025 22:58
@jferrant jferrant added this pull request to the merge queue Jan 24, 2025
Merged via the queue into develop with commit a46254d Jan 24, 2025
177 of 181 checks passed
@jferrant jferrant deleted the fix/clippy-ci-stacks-lib-needless-borrow branch January 24, 2025 01:52
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.

4 participants