Skip to content

Commit 6c4e04f

Browse files
committed
fix clippy warning
1 parent c25dbe7 commit 6c4e04f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,14 @@ fn main() -> Result<()> {
239239
println!("{}", format_generic_response(&response.body));
240240
}
241241
}
242-
Err(e) => eprintln!("Error: {}", e),
242+
Err(e) => eprintln!("Error: {e}"),
243243
}
244244
}
245245
Err(ReadlineError::Interrupted) | Err(ReadlineError::Eof) => {
246246
break;
247247
}
248248
Err(err) => {
249-
println!("Error: {:?}", err);
249+
println!("Error: {err:?}");
250250
break;
251251
}
252252
}

0 commit comments

Comments
 (0)