about summary refs log tree commit diff
path: root/library/test/src/term/terminfo/parser/compiled.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/test/src/term/terminfo/parser/compiled.rs')
-rw-r--r--library/test/src/term/terminfo/parser/compiled.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/test/src/term/terminfo/parser/compiled.rs b/library/test/src/term/terminfo/parser/compiled.rs
index b24f3f8b05e..5d40b7988b5 100644
--- a/library/test/src/term/terminfo/parser/compiled.rs
+++ b/library/test/src/term/terminfo/parser/compiled.rs
@@ -198,7 +198,7 @@ pub(crate) fn parse(file: &mut dyn io::Read, longnames: bool) -> Result<TermInfo
     let extended = match magic {
         0o0432 => false,
         0o01036 => true,
-        _ => return Err(format!("invalid magic number, found {:o}", magic)),
+        _ => return Err(format!("invalid magic number, found {magic:o}")),
     };
 
     // According to the spec, these fields must be >= -1 where -1 means that the feature is not