Clippy suggestions

This commit is contained in:
Jordan Petridis
2018-01-29 19:09:53 +02:00
parent 817d5d9cf7
commit 2f062afb07
5 changed files with 11 additions and 7 deletions
+2
View File
@@ -1,3 +1,5 @@
#![cfg_attr(feature = "cargo-clippy", allow(type_complexity))]
use gdk_pixbuf::Pixbuf;
use send_cell::SendCell;
+1
View File
@@ -288,6 +288,7 @@ fn on_play_bttn_clicked(episode_id: i32) {
}
// Setup a callback that will update the progress bar.
#[cfg_attr(feature = "cargo-clippy", allow(if_same_then_else))]
fn update_progressbar_callback(
prog: Arc<Mutex<manager::Progress>>,
episode_rowid: i32,