Browse Source

drk: Clippy lint

parazyd 3 years ago
parent
commit
0d6f9600bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/drk/src/cli_util.rs

+ 1 - 1
bin/drk/src/cli_util.rs

@@ -83,7 +83,7 @@ pub async fn kaching() {
         return
     };
 
-    if let Err(_) = stream_handle.play_raw(source.convert_samples()) {
+    if stream_handle.play_raw(source.convert_samples()).is_err() {
         return
     }