mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-29 05:59:26 +00:00
cleanup: remove unnecessary 'mut' and '.clone()'
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
c99f950310
commit
e2e0339966
@ -21,7 +21,7 @@ where
|
|||||||
let backup_user = crate::backup::backup_user()?;
|
let backup_user = crate::backup::backup_user()?;
|
||||||
let backup_gid = backup_user.gid.as_raw();
|
let backup_gid = backup_user.gid.as_raw();
|
||||||
|
|
||||||
let mut socket = UnixListener::bind(&path)?;
|
let socket = UnixListener::bind(&path)?;
|
||||||
|
|
||||||
let func = Arc::new(func);
|
let func = Arc::new(func);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user