mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-28 07:12:05 +01:00
Remove unstable feature 'async_closure'
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
arbitrary_self_types,
|
||||
async_await,
|
||||
trait_alias,
|
||||
async_closure,
|
||||
)]
|
||||
#![deny(missing_docs, missing_debug_implementations)]
|
||||
|
||||
|
||||
@@ -521,7 +521,7 @@ where
|
||||
let trace_id = *ctx.trace_id();
|
||||
let response = self.as_mut().f().clone()(ctx, request);
|
||||
let response = deadline_compat::Deadline::new(response, Instant::now() + timeout).then(
|
||||
async move |result| {
|
||||
move |result| async move {
|
||||
let response = Response {
|
||||
request_id,
|
||||
message: match result {
|
||||
|
||||
Reference in New Issue
Block a user