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
-1
View File
@@ -1,5 +1,4 @@
#![allow(dead_code)]
#![cfg_attr(feature = "cargo-clippy", allow(clone_on_ref_ptr))]
use diesel::prelude::*;
use diesel;