Skip to content

Update clippy and rustfmt #1821

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

Merged
merged 1 commit into from
Oct 23, 2019
Merged

Update clippy and rustfmt #1821

merged 1 commit into from
Oct 23, 2019

Conversation

sgkim126
Copy link
Contributor

This patch

  • prefers to use cmp
  • makes code return early
  • removes redundant cloning
  • removes redundant lifetime annotation
  • changes some other miscellaneous changes
    to follow clippy update.

@sgkim126 sgkim126 requested a review from majecty October 21, 2019 02:58
majecty
majecty previously approved these changes Oct 21, 2019
@sgkim126
Copy link
Contributor Author

@majecty I resolved the conflicts.

majecty
majecty previously approved these changes Oct 22, 2019
@sgkim126
Copy link
Contributor Author

Clippy in GitHub Action errors, but not in my local machine.
I'll check it.

@sgkim126
Copy link
Contributor Author

I used the different command from GitHub Action. I'll fix it soon.

This patch
* prefers to use cmp
* makes code return early
* removes redundant cloning
* removes redundant lifetime annotation
* changes some other miscellaneous changes
to follow clippy update.
@sgkim126
Copy link
Contributor Author

fixed.

@majecty majecty merged commit 1b8a646 into CodeChain-io:master Oct 23, 2019
@sgkim126 sgkim126 deleted the version branch October 23, 2019 09:02
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