summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index b1a69ab..82ee310 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -70,7 +70,7 @@ fn set_volume(player: &Player, volume: u8) -> Vec<Result<(), DBusError>> {
let current_volume = normalize_volume(
player
.get_volume()
- .unwrap_or_else(|e| panic!("Failed to retrieve {:#?} volume: {e}", player)),
+ .unwrap_or_else(|e| panic!("Failed to retrieve {player:#?} volume: {e}")),
);
if volume == current_volume {