diff --git a/ipc/src/select_with_weak.rs b/ipc/src/select_with_weak.rs index 43c90b78..3e553f19 100644 --- a/ipc/src/select_with_weak.rs +++ b/ipc/src/select_with_weak.rs @@ -60,7 +60,7 @@ where type Item = S1::Item; fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { - let mut this = Pin::into_inner(self); + let this = Pin::into_inner(self); let mut checked_strong = false; loop { if this.use_strong { diff --git a/server-utils/src/reactor.rs b/server-utils/src/reactor.rs index 04132852..08c3aed5 100644 --- a/server-utils/src/reactor.rs +++ b/server-utils/src/reactor.rs @@ -75,7 +75,7 @@ impl Executor { /// A handle to running event loop. Dropping the handle will cause event loop to finish. #[derive(Debug)] pub struct RpcEventLoop { - executor: TaskExecutor, + _executor: TaskExecutor, close: Option>, runtime: Option, } @@ -112,7 +112,7 @@ impl RpcEventLoop { }); Ok(RpcEventLoop { - executor, + _executor: executor, close: Some(stop), runtime: Some(runtime), })