cargo fmt

This commit is contained in:
Luke Street 2024-03-17 12:20:25 -06:00
parent 9df98f263e
commit 1343f4fd2b
3 changed files with 3 additions and 6 deletions

View File

@ -1,5 +1,4 @@
use std::borrow::Cow; use std::{borrow::Cow, collections::BTreeMap};
use std::collections::BTreeMap;
use anyhow::{bail, Result}; use anyhow::{bail, Result};
use object::{Architecture, Object, Relocation, RelocationFlags}; use object::{Architecture, Object, Relocation, RelocationFlags};

View File

@ -1,5 +1,4 @@
use std::borrow::Cow; use std::{borrow::Cow, collections::BTreeMap};
use std::collections::BTreeMap;
use anyhow::{bail, Result}; use anyhow::{bail, Result};
use object::{elf, File, Relocation, RelocationFlags}; use object::{elf, File, Relocation, RelocationFlags};
@ -161,7 +160,6 @@ impl ObjArch for ObjArchPpc {
cwdemangle::demangle(name, &Default::default()) cwdemangle::demangle(name, &Default::default())
} }
fn display_reloc(&self, flags: RelocationFlags) -> Cow<'static, str> { fn display_reloc(&self, flags: RelocationFlags) -> Cow<'static, str> {
match flags { match flags {
RelocationFlags::Elf { r_type } => match r_type { RelocationFlags::Elf { r_type } => match r_type {

View File

@ -16,9 +16,9 @@ use egui::{
use globset::Glob; use globset::Glob;
use objdiff_core::{ use objdiff_core::{
config::{ProjectObject, DEFAULT_WATCH_PATTERNS}, config::{ProjectObject, DEFAULT_WATCH_PATTERNS},
diff::X86Formatter,
}; };
use self_update::cargo_crate_version; use self_update::cargo_crate_version;
use objdiff_core::diff::X86Formatter;
use crate::{ use crate::{
app::{AppConfig, AppConfigRef, ObjectConfig}, app::{AppConfig, AppConfigRef, ObjectConfig},