Skip to content

Commit

Permalink
Fix MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Jun 19, 2023
1 parent bc15bab commit 5fe4485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/examples/src/objdump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ fn dump_import<W: Write, E: Write>(w: &mut W, e: &mut E, data: &[u8]) -> Result<
writeln!(w, "Symbol: {:?}", String::from_utf8_lossy(file.symbol()))?;
write!(w, "Import: ")?;
match file.import() {
coff::ImportName::Ordinal(n) => writeln!(w, "Ordinal({n})")?,
coff::ImportName::Ordinal(n) => writeln!(w, "Ordinal({})", n)?,
coff::ImportName::Name(name) => writeln!(w, "Name({:?})", String::from_utf8_lossy(name))?,
}
writeln!(w, "Type: {:?}", file.import_type())?;
Expand Down

0 comments on commit 5fe4485

Please sign in to comment.