Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address compilation warnings. #687

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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.
Jump to
Jump to file
Failed to load files.
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