Wanring fix
This commit is contained in:
@@ -113,7 +113,7 @@ impl Song {
|
|||||||
Ok(song_path) => {
|
Ok(song_path) => {
|
||||||
let p = std::path::Path::new(&song_path);
|
let p = std::path::Path::new(&song_path);
|
||||||
if p.exists() {
|
if p.exists() {
|
||||||
match std::fs::remove_file(&p) {
|
match std::fs::remove_file(p) {
|
||||||
Ok(_) => Ok(()),
|
Ok(_) => Ok(()),
|
||||||
Err(err) => Err(err),
|
Err(err) => Err(err),
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user