]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/utils/author.rs
Rollup merge of #102589 - RalfJung:scoped-threads-dangling, r=m-ou-se
[rust.git] / src / tools / clippy / clippy_lints / src / utils / author.rs
index 1df3135c962d122c9ecc6064fd0a8733d83be17d..e069de8cb5c7e5148cba5f9789f9e98809c20dde 100644 (file)
@@ -739,7 +739,7 @@ fn inner(s: &mut String, path: &QPath<'_>) {
                     *s += ", ";
                     write!(s, "{:?}", segment.ident.as_str()).unwrap();
                 },
-                other => write!(s, "/* unimplemented: {:?}*/", other).unwrap(),
+                other => write!(s, "/* unimplemented: {other:?}*/").unwrap(),
             },
             QPath::LangItem(..) => panic!("path_to_string: called for lang item qpath"),
         }