diff --git a/objdiff-core/src/arch/mod.rs b/objdiff-core/src/arch/mod.rs index 69ef11f..dae0f8a 100644 --- a/objdiff-core/src/arch/mod.rs +++ b/objdiff-core/src/arch/mod.rs @@ -1,5 +1,4 @@ -use std::borrow::Cow; -use std::collections::BTreeMap; +use std::{borrow::Cow, collections::BTreeMap}; use anyhow::{bail, Result}; use object::{Architecture, Object, Relocation, RelocationFlags}; diff --git a/objdiff-core/src/arch/ppc.rs b/objdiff-core/src/arch/ppc.rs index 9062a20..4800604 100644 --- a/objdiff-core/src/arch/ppc.rs +++ b/objdiff-core/src/arch/ppc.rs @@ -1,5 +1,4 @@ -use std::borrow::Cow; -use std::collections::BTreeMap; +use std::{borrow::Cow, collections::BTreeMap}; use anyhow::{bail, Result}; use object::{elf, File, Relocation, RelocationFlags}; @@ -161,7 +160,6 @@ impl ObjArch for ObjArchPpc { cwdemangle::demangle(name, &Default::default()) } - fn display_reloc(&self, flags: RelocationFlags) -> Cow<'static, str> { match flags { RelocationFlags::Elf { r_type } => match r_type { diff --git a/objdiff-gui/src/views/config.rs b/objdiff-gui/src/views/config.rs index de4f541..1c5c298 100644 --- a/objdiff-gui/src/views/config.rs +++ b/objdiff-gui/src/views/config.rs @@ -16,9 +16,9 @@ use egui::{ use globset::Glob; use objdiff_core::{ config::{ProjectObject, DEFAULT_WATCH_PATTERNS}, + diff::X86Formatter, }; use self_update::cargo_crate_version; -use objdiff_core::diff::X86Formatter; use crate::{ app::{AppConfig, AppConfigRef, ObjectConfig},