[clippy] inline variables in println!
This commit is contained in:
		| @@ -46,7 +46,7 @@ where | |||||||
| { | { | ||||||
|     // tput dl1 und tput hpa 0 |     // tput dl1 und tput hpa 0 | ||||||
|     let bytes = "\x1b\x5b\x4d\x1b\x5b\x31\x47"; |     let bytes = "\x1b\x5b\x4d\x1b\x5b\x31\x47"; | ||||||
|     write!(output, "{}", bytes) |     write!(output, "{bytes}") | ||||||
| } | } | ||||||
|  |  | ||||||
| fn run() -> LogtimesResult { | fn run() -> LogtimesResult { | ||||||
| @@ -105,7 +105,7 @@ fn run() -> LogtimesResult { | |||||||
|  |  | ||||||
| fn main() { | fn main() { | ||||||
|     if let Err(e) = run() { |     if let Err(e) = run() { | ||||||
|         println!("{:?}", e); |         println!("{e:?}"); | ||||||
|         std::process::exit(1); |         std::process::exit(1); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user