mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-02 01:20:10 +01:00
Remove unstable feature 'async_closure'
This commit is contained in:
@@ -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