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

fix: Avoid clippy bug #534

Merged
merged 5 commits into from
Sep 26, 2024
Merged

fix: Avoid clippy bug #534

merged 5 commits into from
Sep 26, 2024

Conversation

igamigo
Copy link
Collaborator

@igamigo igamigo commented Sep 26, 2024

Temporarily avoids this bug
Also updates some deprecated prost code and changes the doc within the known script roots mod which were valid clippy warnings.

@igamigo igamigo added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Sep 26, 2024
Copy link
Collaborator

@tomyrd tomyrd left a comment

Choose a reason for hiding this comment

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

LGTM, left a couple of small comments

Copy link
Collaborator

Choose a reason for hiding this comment

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

With the --allow clippy::needless_return I don't think it's necessary to remove the semicolons.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Re-added it

Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you! I left one question inline.

Also, we may want to consider running clippy against stable (rather than nightly). We've switched to this in miden-base and miden-node some time ago.

@igamigo igamigo merged commit bb3070c into next Sep 26, 2024
14 checks passed
@igamigo igamigo deleted the igamigo-fix-nightly-clippy branch September 26, 2024 22:50
igamigo added a commit that referenced this pull request Nov 7, 2024
* fix: Avoid clippy bug

* Update build.rs

* Update build.rs

* re-add colon

* re-add colon
igamigo added a commit that referenced this pull request Nov 7, 2024
* fix: Avoid clippy bug

* Update build.rs

* Update build.rs

* re-add colon

* re-add colon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog This PR does not require an entry in the `CHANGELOG.md` file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants