From 5fe448571085442de58dab881240266aaf156361 Mon Sep 17 00:00:00 2001 From: Chris Denton Date: Mon, 19 Jun 2023 10:09:54 +0100 Subject: [PATCH] Fix MSRV --- crates/examples/src/objdump.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/examples/src/objdump.rs b/crates/examples/src/objdump.rs index 40a66e2f..23087a79 100644 --- a/crates/examples/src/objdump.rs +++ b/crates/examples/src/objdump.rs @@ -266,7 +266,7 @@ fn dump_import(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())?;