Skip to content

Commit

Permalink
Fix clippy reported issues
Browse files Browse the repository at this point in the history
This change fixes a couple of issues that a newer version of clippy
reported.

Signed-off-by: Daniel Müller <[email protected]>
  • Loading branch information
d-e-s-o committed Nov 16, 2023
1 parent 10e35d9 commit 4085823
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/symbolize/symbolizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1077,13 +1077,11 @@ mod tests {
][..],
),
(
symbolize::Source::Elf(symbolize::Elf::new(&test_elf)),
symbolize::Source::Elf(symbolize::Elf::new(test_elf)),
&[Input::AbsAddr([46].as_slice())][..],
),
(
symbolize::Source::Gsym(symbolize::Gsym::File(symbolize::GsymFile::new(
&test_gsym,
))),
symbolize::Source::Gsym(symbolize::Gsym::File(symbolize::GsymFile::new(test_gsym))),
&[
Input::AbsAddr([48].as_slice()),
Input::FileOffset([49].as_slice()),
Expand Down

0 comments on commit 4085823

Please sign in to comment.