-
Notifications
You must be signed in to change notification settings - Fork 222
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
Deny clippy warnings in CI properly #2109
Changes from all commits
1dd54b6
db56a82
b4bb0fd
4131e5a
34828f5
b75c895
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#![allow(clippy::vec_init_then_push)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. couldn't we move this in? (i mean just fix it perhaps) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The module contains auto generated code so I feel like it's more convenient to keep this outside so it's easier to update the code if needed. |
||
|
||
// This file was populated with the expanded macros of programs/pyth-solana-receiver/src/lib.rs | ||
|
||
pub struct PostUpdateAtomic<'info> { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure the intention here was not to check if
try_into()
has some errors?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sequence
is already au64
sotry_into()
never fails.