about summary refs log tree commit diff
path: root/library/std/src/sys/unix/os_str
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/unix/os_str')
-rw-r--r--library/std/src/sys/unix/os_str/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/os_str/tests.rs b/library/std/src/sys/unix/os_str/tests.rs
index 37967378155..213277f01f2 100644
--- a/library/std/src/sys/unix/os_str/tests.rs
+++ b/library/std/src/sys/unix/os_str/tests.rs
@@ -4,7 +4,7 @@ use super::*;
 fn slice_debug_output() {
     let input = Slice::from_u8_slice(b"\xF0hello,\tworld");
     let expected = r#""\xF0hello,\tworld""#;
-    let output = format!("{:?}", input);
+    let output = format!("{input:?}");
 
     assert_eq!(output, expected);
 }