]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/facts.rs
Use fmt named parameters in rustc_borrowck
[rust.git] / compiler / rustc_borrowck / src / facts.rs
index 51ed27c167d3844971e445036bb0a4584524e210..02ffb51fbb7e3a3fb440a497e558702fefc5ba41 100644 (file)
@@ -192,7 +192,7 @@ fn write_row(
 ) -> Result<(), Box<dyn Error>> {
     for (index, c) in columns.iter().enumerate() {
         let tail = if index == columns.len() - 1 { "\n" } else { "\t" };
-        write!(out, "{:?}{}", c.to_string(location_table), tail)?;
+        write!(out, "{:?}{tail}", c.to_string(location_table))?;
     }
     Ok(())
 }