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

Makes Clippy happy #172

Merged
merged 3 commits into from
Jan 30, 2023
Merged

Makes Clippy happy #172

merged 3 commits into from
Jan 30, 2023

Conversation

Tpt
Copy link
Contributor

@Tpt Tpt commented Jan 30, 2023

No description provided.

@Tpt Tpt requested review from arkpar and cheme January 30, 2023 16:36
@Tpt
Copy link
Contributor Author

Tpt commented Jan 30, 2023

The "Uses inline variable names in fmt strings" commit has been done automatically with cargo clippy --fix

src/column.rs Outdated
mut tables: RwLockUpgradableReadGuard<'a, Tables>,
mut reindex: RwLockUpgradableReadGuard<'b, Reindex>,
mut tables: RwLockUpgradableReadGuard<'_, Tables>,
mut reindex: RwLockUpgradableReadGuard<'_, Reindex>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can they be just ignored? (or somehow having two _ indicate they are different)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, they can. I have pushed an extra commit in this PR removing them (and some others)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks :)

@arkpar arkpar merged commit 20169f8 into paritytech:master Jan 30, 2023
@Tpt Tpt deleted the clippy branch January 31, 2023 16:54
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