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
@@ -39,7 +39,7 @@ fn worker_task_abort() -> Result<(), Error> {
|
||||
let errmsg: Arc<Mutex<Option<String>>> = Arc::new(Mutex::new(None));
|
||||
let errmsg1 = errmsg.clone();
|
||||
|
||||
let mut rt = tokio::runtime::Runtime::new().unwrap();
|
||||
let rt = tokio::runtime::Runtime::new().unwrap();
|
||||
rt.block_on(async move {
|
||||
|
||||
let mut commando_sock = server::CommandoSocket::new(server::our_ctrl_sock());
|
||||
|
||||
Reference in new issue
Block a user