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

ci: fix clippy #275

Merged
merged 1 commit into from
Jan 10, 2024
Merged

ci: fix clippy #275

merged 1 commit into from
Jan 10, 2024

Conversation

dj8yfo
Copy link
Collaborator

@dj8yfo dj8yfo commented Jan 10, 2024

No description provided.

@dj8yfo dj8yfo marked this pull request as ready for review January 10, 2024 14:19
@dj8yfo dj8yfo requested a review from frol as a code owner January 10, 2024 14:19
@@ -22,7 +22,7 @@ pub fn process(input: &ItemStruct, cratename: Path) -> syn::Result<TokenStream2>
}
}
Fields::Unnamed(fields) => {
for (_field_idx, field) in fields.unnamed.iter().enumerate() {
for field in fields.unnamed.iter() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit:

Suggested change
for field in fields.unnamed.iter() {
for field in &fields.unnamed {

@dj8yfo dj8yfo merged commit 5adcd34 into master Jan 10, 2024
7 checks passed
@dj8yfo dj8yfo deleted the fix_clippy branch January 10, 2024 14:42
@frol frol mentioned this pull request Jan 10, 2024
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

2 participants