Apply clippy suggestions.

This commit is contained in:
Jordan Petridis
2018-01-07 08:36:02 +02:00
parent 074284d286
commit 81b1ec810c
3 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ pub fn get_download_folder(pd_title: &str) -> Result<String> {
/// TODO: Write Tests
/// TODO: Return Result instead
pub fn delete_show(pd: &Podcast) {
let res = dbqueries::remove_feed(&pd);
let res = dbqueries::remove_feed(pd);
if res.is_ok() {
info!("{} was removed succesfully.", pd.title());