Favor explicit refference cloning, as suggested by clippy.

This commit is contained in:
Jordan Petridis
2017-10-21 05:35:54 +03:00
parent 048d4800da
commit 5fb783c0c0
8 changed files with 52 additions and 38 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ fn run() -> Result<()> {
if args.up {
let db = hammond_data::establish_connection();
let db = Arc::new(Mutex::new(db));
index_feed::index_loop(db.clone(), false)?;
index_feed::index_loop(&db.clone(), false)?;
}
if args.dl >= 0 {