[clippy] inline variables in println!

This commit is contained in:
ddidderr 2023-02-03 11:53:22 +01:00
parent c1488ddb5c
commit 9508adf7fc
Signed by: ddidderr
GPG Key ID: 3841F1C27E6F0E14

View File

@ -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);
} }
} }