-
Notifications
You must be signed in to change notification settings - Fork 261
Fix clippy lints #6310
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 clippy lints #6310
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
mkrasnitski marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| too-many-arguments-threshold = 8 |
|
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. I find the before to be more readable 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. yeah, it would be best if the definition of pub struct BNInstructionInfo {
pub length: usize,
pub branchCount: usize,
pub archTransitionByTargetAddr: bool,
pub delaySlots: u8,
pub branchInfo: [BNBranchInfo; 3usize],
}
pub struct BNBranchInfo {
pub branchType: BNBranchType,
pub branchTarget: u64,
#[doc = " If null, same architecture as instruction"]
pub branchArch: *mut BNArchitecture,
}Then we could iterate over all the branch info at once instead of by-index. This would require changing the C++ definition though. |
Uh oh!
There was an error while loading. Please reload this page.