Fix clippy::unnecessary_mut_passed
This commit is contained in:
parent
fafca4cb11
commit
6095e3fe19
1 changed files with 2 additions and 7 deletions
|
|
@ -95,13 +95,8 @@ impl Server {
|
|||
"test server",
|
||||
128,
|
||||
move |mut msg_receiver, mut msg_sender| {
|
||||
main_loop(
|
||||
roots,
|
||||
InitializationOptions::default(),
|
||||
&mut msg_receiver,
|
||||
&mut msg_sender,
|
||||
)
|
||||
.unwrap()
|
||||
main_loop(roots, InitializationOptions::default(), &msg_receiver, &msg_sender)
|
||||
.unwrap()
|
||||
},
|
||||
);
|
||||
let res = Server { req_id: Cell::new(1), dir, messages: Default::default(), worker };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue