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

chore: fixed all the minor Clippy rants #14

Closed
wants to merge 2 commits into from

Conversation

kirushik
Copy link
Member

@kirushik kirushik commented Mar 4, 2024

As a preparation for #12 being merged

@kirushik kirushik requested review from fluiderson and Slesarew March 4, 2024 19:49
@kirushik kirushik force-pushed the kirushik/code_quality_improvements branch from 2aec22f to 5ba7f4d Compare March 4, 2024 19:50
@kirushik
Copy link
Member Author

kirushik commented Mar 4, 2024

I still find https://github.com/Alzymologist/Kalatori-backend/blob/5ba7f4db5faad3baff183058eaf88ee6856a2c0b/src/database.rs#L316-L325 and https://github.com/Alzymologist/Kalatori-backend/blob/5ba7f4db5faad3baff183058eaf88ee6856a2c0b/src/rpc.rs#L466-L488 suspicious, and would've preferred this would be a more concise logic.

Consumer asked for invoices()? Give them an Iterator over all the properly parsed elements in the db.

@Slesarew
Copy link
Member

Slesarew commented Mar 4, 2024

we can merge #12 first to make sure this passes; branch protection rules are not set yet.

@Slesarew Slesarew changed the title Fixed all the minor Clippy rants chore: fixed all the minor Clippy rants Mar 5, 2024
@Slesarew
Copy link
Member

Slesarew commented Mar 5, 2024

Is this redundant with #18?

@Slesarew
Copy link
Member

Slesarew commented Mar 7, 2024

ok it is deprecated I suppose

@Slesarew Slesarew closed this Mar 7, 2024
@kirushik kirushik deleted the kirushik/code_quality_improvements branch March 15, 2024 13:43
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.

2 participants