From 5ee3daaf09ed83197d224a42a1ce353c1ac13157 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Mon, 11 Dec 2023 12:55:00 -0500 Subject: [PATCH] Undo accidental formatting changes --- src/cmd/dwarf.rs | 1 - src/util/dwarf.rs | 3 +-- src/util/reader.rs | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cmd/dwarf.rs b/src/cmd/dwarf.rs index 4ba935c..545cc83 100644 --- a/src/cmd/dwarf.rs +++ b/src/cmd/dwarf.rs @@ -66,7 +66,6 @@ fn dump(args: DumpArgs) -> Result<()> { let theme = theme_set.themes.get("Solarized (dark)").context("Failed to load theme")?; let syntax = syntax_set.find_syntax_by_name("C++").context("Failed to find syntax")?.clone(); - // Set Endian let file = map_file(&args.in_file)?; let buf = file.as_slice(); if buf.starts_with(b"!\n") { diff --git a/src/util/dwarf.rs b/src/util/dwarf.rs index e89a5ea..a63356d 100644 --- a/src/util/dwarf.rs +++ b/src/util/dwarf.rs @@ -59,8 +59,7 @@ pub enum TagKind { #[derive(Debug, Eq, PartialEq, Copy, Clone, IntoPrimitive, TryFromPrimitive)] #[repr(u16)] pub enum FundType { - WideChar = 0x0000, - // Likely an MW bug + WideChar = 0x0000, // Likely an MW bug Char = 0x0001, SignedChar = 0x0002, UnsignedChar = 0x0003, diff --git a/src/util/reader.rs b/src/util/reader.rs index eec4b9e..db8f264 100644 --- a/src/util/reader.rs +++ b/src/util/reader.rs @@ -272,4 +272,4 @@ where item.to_writer(writer, e)?; } Ok(()) -} \ No newline at end of file +}