Remove use of unstable feature 'arbitrary_self_types'.

Turns out, this actually wasn't needed, with some minor refactoring.
This commit is contained in:
Tim Kuehn
2019-07-19 00:48:59 -07:00
parent 94b5b2c431
commit 537446a5c9
15 changed files with 38 additions and 39 deletions

View File

@@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#![feature(arbitrary_self_types, async_await)]
#![feature(async_await)]
use clap::{App, Arg};
use futures::{compat::Executor01CompatExt, prelude::*};

View File

@@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#![feature(arbitrary_self_types, async_await, proc_macro_hygiene)]
#![feature(async_await, proc_macro_hygiene)]
// This is the service definition. It looks a lot like a trait definition.
// It defines one RPC, hello, which takes one arg, name, and returns a String.

View File

@@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#![feature(arbitrary_self_types, async_await)]
#![feature(async_await)]
use clap::{App, Arg};
use futures::{