mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-02-23 15:49:54 +01:00
Rewrite traits to use async-fn-in-trait.
- Stub - BeforeRequest - AfterRequest Also removed the last remaining usage of an unstable feature, iter_intersperse.
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
#![allow(incomplete_features)]
|
||||
#![feature(async_fn_in_trait)]
|
||||
|
||||
// these need to be out here rather than inside the function so that the
|
||||
// assert_type_eq macro can pick them up.
|
||||
#[tarpc::service]
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
#![allow(incomplete_features)]
|
||||
#![feature(async_fn_in_trait)]
|
||||
|
||||
use tarpc::context;
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user