From 2d845d7f44f3c720140108124308c0c29835d357 Mon Sep 17 00:00:00 2001 From: Christopher Cole Date: Fri, 22 Mar 2024 20:07:26 -0700 Subject: [PATCH] Remove some redudandant imports --- src/elf_bytes.rs | 2 -- src/elf_stream.rs | 1 - src/note.rs | 1 - 3 files changed, 4 deletions(-) diff --git a/src/elf_bytes.rs b/src/elf_bytes.rs index f37c221..6444e76 100644 --- a/src/elf_bytes.rs +++ b/src/elf_bytes.rs @@ -829,12 +829,10 @@ impl<'data, E: EndianParse> ElfBytes<'data, E> { mod interface_tests { use super::*; use crate::abi::{SHT_GNU_HASH, SHT_NOBITS, SHT_NOTE, SHT_NULL, SHT_REL, SHT_RELA, SHT_STRTAB}; - use crate::dynamic::Dyn; use crate::endian::AnyEndian; use crate::hash::sysv_hash; use crate::note::{Note, NoteGnuAbiTag, NoteGnuBuildId}; use crate::relocation::Rela; - use crate::segment::ProgramHeader; #[test] fn simultaenous_segments_parsing() { diff --git a/src/elf_stream.rs b/src/elf_stream.rs index 9b9b661..87a0d5b 100644 --- a/src/elf_stream.rs +++ b/src/elf_stream.rs @@ -738,7 +738,6 @@ mod interface_tests { use crate::hash::SysVHashTable; use crate::note::{Note, NoteGnuAbiTag, NoteGnuBuildId}; use crate::relocation::Rela; - use crate::symbol::Symbol; #[test] fn test_open_stream() { diff --git a/src/note.rs b/src/note.rs index f17a7d7..9029113 100644 --- a/src/note.rs +++ b/src/note.rs @@ -263,7 +263,6 @@ impl ParseAt for NoteHeader { #[cfg(test)] mod parse_tests { use super::*; - use crate::abi; use crate::endian::{BigEndian, LittleEndian}; #[test]