mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-06-19 12:13:32 +00:00
fix clippy lints under rust 1.95 (#90)
This commit is contained in:
+2
-2
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user