Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ipc/src/select_with_weak.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ where
type Item = S1::Item;

fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
let mut this = Pin::into_inner(self);
let this = Pin::into_inner(self);
let mut checked_strong = false;
loop {
if this.use_strong {
Expand Down
4 changes: 2 additions & 2 deletions server-utils/src/reactor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<futures::channel::oneshot::Sender<()>>,
runtime: Option<runtime::Runtime>,
}
Expand Down Expand Up @@ -112,7 +112,7 @@ impl RpcEventLoop {
});

Ok(RpcEventLoop {
executor,
_executor: executor,
close: Some(stop),
runtime: Some(runtime),
})
Expand Down