cleanup: remove unnecessary 'mut' and '.clone()'

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2020-12-04 11:53:34 +01:00
parent c99f950310
commit e2e0339966

View File

@ -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);