cleanup: remove unnecessary 'mut' and '.clone()'
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
1 parent
19f5aa252f
commit
0bfcea6a11
8 files changed
+8
-11
No files matched your search
@@ -21,7 +21,7 @@ where
|
||||
let backup_user = crate::backup::backup_user()?;
|
||||
let backup_gid = backup_user.gid.as_raw();
|
||||
|
||||
let mut socket = UnixListener::bind(&path)?;
|
||||
let socket = UnixListener::bind(&path)?;
|
||||
|
||||
let func = Arc::new(func);
|
||||
|
||||
|
||||
Reference in new issue
Block a user