From 4820beb5536fbf103790b0332d2d221336d44ce9 Mon Sep 17 00:00:00 2001 From: eladyn Date: Mon, 24 Feb 2025 01:05:18 +0100 Subject: [PATCH] chore: improve variable naming --- src/main_loop.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main_loop.rs b/src/main_loop.rs index 5761957d..0155c4bf 100644 --- a/src/main_loop.rs +++ b/src/main_loop.rs @@ -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;