chore: bump to newer nightly (#1426)

This commit is contained in:
Taiki Endo
2019-08-11 02:01:20 +09:00
committed by GitHub
parent fff39c03b1
commit d9f9c5658f
44 changed files with 45 additions and 89 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ impl tokio_executor::Executor for Sender {
}
}
impl<'a> tokio_executor::Executor for &'a Sender {
impl tokio_executor::Executor for &Sender {
fn status(&self) -> Result<(), tokio_executor::SpawnError> {
let state: pool::State = self.pool.state.load(Acquire).into();
+1 -1
View File
@@ -124,7 +124,7 @@ impl Task {
let res = panic::catch_unwind(panic::AssertUnwindSafe(|| {
struct Guard<'a>(&'a mut Option<BoxFuture>, bool);
impl<'a> Drop for Guard<'a> {
impl Drop for Guard<'_> {
fn drop(&mut self) {
// This drops the future
if self.1 {
+1 -1
View File
@@ -530,7 +530,7 @@ impl Worker {
worker: &'a Worker,
}
impl<'a> Drop for Guard<'a> {
impl Drop for Guard<'_> {
fn drop(&mut self) {
// A task is allocated at run when it was explicitly notified
// that the task has capacity to block. When this happens, that
+1 -1
View File
@@ -350,7 +350,7 @@ fn busy_threadpool_is_not_idle() {
struct IdleFut<'a>(&'a mut Shutdown);
impl<'a> Future for IdleFut<'a> {
impl Future for IdleFut<'_> {
type Output = ();
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()> {