From 636213fdfd426eeb063f193710e27f1d9524a438 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Thu, 3 Aug 2023 19:19:05 -0400 Subject: [PATCH] Remove unused imports --- src/cmd/rel.rs | 2 +- src/util/asm.rs | 2 +- src/util/comment.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd/rel.rs b/src/cmd/rel.rs index 4e015bc..5163594 100644 --- a/src/cmd/rel.rs +++ b/src/cmd/rel.rs @@ -16,7 +16,7 @@ use crate::{ tracker::Tracker, }, array_ref_mut, - obj::{ObjInfo, ObjReloc, ObjRelocKind, ObjSection, ObjSymbol, ObjSymbolKind}, + obj::{ObjInfo, ObjReloc, ObjRelocKind, ObjSection, ObjSymbol}, util::{ dol::process_dol, elf::write_elf, diff --git a/src/util/asm.rs b/src/util/asm.rs index 70ad0f8..cf67112 100644 --- a/src/util/asm.rs +++ b/src/util/asm.rs @@ -10,7 +10,7 @@ use ppc750cl::{disasm_iter, Argument, Ins, Opcode}; use crate::{ obj::{ ObjDataKind, ObjInfo, ObjReloc, ObjRelocKind, ObjSection, ObjSectionKind, ObjSymbol, - ObjSymbolFlags, ObjSymbolKind, + ObjSymbolKind, }, util::nested::NestedVec, }; diff --git a/src/util/comment.rs b/src/util/comment.rs index 404f0cf..00b1ea3 100644 --- a/src/util/comment.rs +++ b/src/util/comment.rs @@ -7,7 +7,7 @@ use anyhow::{bail, Context, Result}; use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; use num_enum::{IntoPrimitive, TryFromPrimitive}; -use crate::obj::{ObjSymbol, ObjSymbolFlags, ObjSymbolKind}; +use crate::obj::{ObjSymbol, ObjSymbolKind}; #[derive(Debug, Copy, Clone, IntoPrimitive, TryFromPrimitive)] #[repr(u8)]