clippy: remove unnecessary clones

and from::<T>(T)

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2021-01-20 16:22:59 +01:00
parent 47ea98e0e3
commit 4428818412
35 changed files with 47 additions and 51 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ fn garbage_collection(worker: &server::WorkerTask) -> Result<(), Error> {
worker.log("end garbage collection");
Ok(()).into()
Ok(())
}