Undo accidental formatting changes
This commit is contained in:
parent
b2d0b124a5
commit
5ee3daaf09
|
@ -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") {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -272,4 +272,4 @@ where
|
||||||
item.to_writer(writer, e)?;
|
item.to_writer(writer, e)?;
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue