clippy fixes

This commit is contained in:
Anton-4 2024-01-01 19:19:44 +01:00
parent 3041da46f3
commit c85a25e320
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
6 changed files with 14 additions and 57 deletions

View file

@ -1,3 +1,6 @@
#![allow(clippy::redundant_closure_call)]
//|> clippy false positive: https://github.com/rust-lang/rust-clippy/issues/1553
pub fn merge_instructions_without_line_numbers(instructions: capstone::Instructions) -> String {
instructions
.iter()