X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=compiler%2Frustc_borrowck%2Fsrc%2Ffacts.rs;h=02ffb51fbb7e3a3fb440a497e558702fefc5ba41;hb=d0cf7e3bf59ecf7666820b9f2fba9760c6b7beec;hp=51ed27c167d3844971e445036bb0a4584524e210;hpb=0fb8b72ce49997d60a631e921d2cf5be9ca229e6;p=rust.git diff --git a/compiler/rustc_borrowck/src/facts.rs b/compiler/rustc_borrowck/src/facts.rs index 51ed27c167d..02ffb51fbb7 100644 --- a/compiler/rustc_borrowck/src/facts.rs +++ b/compiler/rustc_borrowck/src/facts.rs @@ -192,7 +192,7 @@ fn write_row( ) -> Result<(), Box> { 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(()) }