Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
philipc committed Dec 21, 2024
1 parent 59bd06b commit 3230cae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rewrite/src/elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub struct ElfOptions {
pub set_interpreter: Option<Vec<u8>>,
}

impl<'data> Rewriter<'data> {
impl Rewriter<'_> {
/// Delete symbols from the symbol table.
pub fn elf_delete_symbols(&mut self, names: &HashSet<Vec<u8>>) {
for symbol in &mut self.builder.dynamic_symbols {
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#![allow(clippy::field_reassign_with_default)]
#![allow(clippy::manual_flatten)]
#![allow(clippy::match_like_matches_macro)]
#![allow(clippy::needless_lifetimes)]
#![allow(clippy::single_match)]
#![allow(clippy::type_complexity)]
// Occurs due to fallible iteration.
Expand Down

0 comments on commit 3230cae

Please sign in to comment.