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

Clippy fixes #6

Merged
merged 11 commits into from
Oct 18, 2023
Merged

Clippy fixes #6

merged 11 commits into from
Oct 18, 2023

Conversation

chris-ha458
Copy link
Contributor

I used clippy to activate some lints to apply some fixes.
Nothing major. Mostly stylistic and idiomatic fixes.

@CLAassistant
Copy link

CLAassistant commented Oct 18, 2023

CLA assistant check
All committers have signed the CLA.

change import into specific imports
fix if structure
- fix imports
- fix if structures
- explicit matching
- fix imports
- change let-match pattern to let-else pattern
- merge identical arms
- fix iterations
- fix struct definition
Copy link
Member

@PureWhiteWu PureWhiteWu left a comment

Choose a reason for hiding this comment

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

Thanks very much for your contribution!

@PureWhiteWu PureWhiteWu merged commit c838482 into cloudwego:main Oct 18, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants