mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-06 03:50:06 +02:00
refactor: use Rust 2021 format strings for error and debug messages
This commit is contained in:
parent
fdd4a16fdc
commit
0aec38b07a
4 changed files with 32 additions and 39 deletions
|
@ -36,7 +36,7 @@ async fn main() {
|
|||
println!("Connecting...");
|
||||
let session = Session::new(session_config, None);
|
||||
if let Err(e) = session.connect(credentials, false).await {
|
||||
println!("Error connecting: {}", e);
|
||||
println!("Error connecting: {e}");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue