Undo accidental formatting changes

This commit is contained in:
Luke Street 2023-12-11 12:55:00 -05:00
parent b2d0b124a5
commit 5ee3daaf09
3 changed files with 2 additions and 4 deletions

View File

@ -66,7 +66,6 @@ fn dump(args: DumpArgs) -> Result<()> {
let theme = theme_set.themes.get("Solarized (dark)").context("Failed to load theme")?; 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(); 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 file = map_file(&args.in_file)?;
let buf = file.as_slice(); let buf = file.as_slice();
if buf.starts_with(b"!<arch>\n") { if buf.starts_with(b"!<arch>\n") {

View File

@ -59,8 +59,7 @@ pub enum TagKind {
#[derive(Debug, Eq, PartialEq, Copy, Clone, IntoPrimitive, TryFromPrimitive)] #[derive(Debug, Eq, PartialEq, Copy, Clone, IntoPrimitive, TryFromPrimitive)]
#[repr(u16)] #[repr(u16)]
pub enum FundType { pub enum FundType {
WideChar = 0x0000, WideChar = 0x0000, // Likely an MW bug
// Likely an MW bug
Char = 0x0001, Char = 0x0001,
SignedChar = 0x0002, SignedChar = 0x0002,
UnsignedChar = 0x0003, UnsignedChar = 0x0003,

View File

@ -272,4 +272,4 @@ where
item.to_writer(writer, e)?; item.to_writer(writer, e)?;
} }
Ok(()) Ok(())
} }