Skip to content

Commit

Permalink
chore: improve variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
eladyn committed Feb 24, 2025
1 parent 298afe6 commit 4820beb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ impl MainLoop {
}
break 'mainloop;
}
spirc = self.get_connection() => {
match spirc {
Ok(spirc) => spirc,
connection = self.get_connection() => {
match connection {
Ok(connection) => connection,
Err(err) => {
error!("failed to connect to spotify: {}", err);
break 'mainloop;
Expand Down

0 comments on commit 4820beb

Please sign in to comment.