Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
encounter committed Mar 17, 2024
1 parent 9df98f2 commit 1343f4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions objdiff-core/src/arch/mod.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
4 changes: 1 addition & 3 deletions objdiff-core/src/arch/ppc.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion objdiff-gui/src/views/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 1343f4f

Please sign in to comment.