implement clippy suggestions
This commit is contained in:
parent
ed7bd5efc8
commit
aa04c6ef5b
5 changed files with 7 additions and 7 deletions
|
|
@ -30,5 +30,5 @@ pub fn download_from_youtube(url: &str) -> Result<TrackInfo, DownloadError> {
|
|||
.replace('\n', "")
|
||||
+ ".mp3";
|
||||
|
||||
Ok(TrackInfo::new(&Path::new(filename.as_str())))
|
||||
Ok(TrackInfo::new(Path::new(filename.as_str())))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue