]> git.lizzy.rs Git - rust.git/blobdiff - tests/missing-test-files.rs
replace reference with value
[rust.git] / tests / missing-test-files.rs
index 7d6edc2b1e095fb1cb59e81cca7b28bba7f44497..caedd5d76cd6fb43ceb3ebf47859e6405f709663 100644 (file)
@@ -17,7 +17,7 @@ fn test_missing_tests() {
             "Didn't see a test file for the following files:\n\n{}\n",
             missing_files
                 .iter()
-                .map(|s| format!("\t{}", s))
+                .map(|s| format!("\t{s}"))
                 .collect::<Vec<_>>()
                 .join("\n")
         );