Inline fmt lints for `redirects/`

I couldn't find any documentation of how `redirects/` dir is being used,
but fixed inlined format args for consistency
This commit is contained in:
Yuri Astrakhan 2024-04-19 15:40:41 -04:00
parent 8a79f3e15d
commit c13271897d
4 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
```rust
let b = Box::new(5);
println!("b = {}", b);
println!("b = {b}");
```
---

View File

@ -11,7 +11,7 @@ let v1 = vec![1, 2, 3];
let v1_iter = v1.iter();
for val in v1_iter {
println!("Got: {}", val);
println!("Got: {val}");
}
```

View File

@ -11,7 +11,7 @@
// |
let r = &x; // --+--+-- 'a
// | |
println!("r: {}", r); // | |
println!("r: {r}"); // | |
// --+ |
} // -----+
```

View File

@ -6,9 +6,9 @@
```rust
let mut x = 5;
println!("The value of x is: {}", x);
println!("The value of x is: {x}");
x = 6;
println!("The value of x is: {}", x);
println!("The value of x is: {x}");
```
---