fix clippy lints under rust 1.95 (#90)

This commit is contained in:
RiDDiX
2026-04-28 13:13:11 +02:00
committed by GitHub
parent bcf791d84c
commit a6d93ff528
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ use pwsp::{
use rfd::FileDialog;
use std::{
error::Error,
path::PathBuf,
path::{Path, PathBuf},
sync::{Arc, Mutex},
};
@@ -120,7 +120,7 @@ impl SoundpadGui {
}
}
pub fn play_file(&mut self, path: &PathBuf, concurrent: bool) {
pub fn play_file(&mut self, path: &Path, concurrent: bool) {
make_request_async(Request::play(&path.to_string_lossy(), concurrent));
}