tree-wide: fix needless borrows

found and fixed via clippy

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler committed 2021-12-30 13:55:33 +01:00
1 parent a0c69902c8
commit 9a37bd6c84
104 files changed
+238 -241

No files matched your search

+1 -1
View File
@@ -259,7 +259,7 @@ async fn mount_do(param: Value, pipe: Option<Fd>) -> Result<Value, Error> {
let session = pbs_client::pxar::fuse::Session::mount(
decoder,
&options,
options,
false,
Path::new(target.unwrap()),
)