Code cleanup.

Converted rest of .clone() s on ref pointer to use the macro instead.
Stopped ignoring clippy clone_on_ref_pointer warnings since there shouldn't
be any, anymore.
This commit is contained in:
Jordan Petridis
2017-10-23 07:37:07 +03:00
parent 539a5eae2f
commit 9beea21a4f
8 changed files with 8 additions and 26 deletions
-2
View File
@@ -1,6 +1,4 @@
#![cfg_attr(feature = "cargo-clippy", allow(clone_on_ref_ptr))]
use open;
use diesel::prelude::SqliteConnection;
use hammond_data::dbqueries;