Skip to content

Commit

Permalink
inline async fn impl.
Browse files Browse the repository at this point in the history
  • Loading branch information
fakeshadow committed Dec 1, 2021
1 parent 5779acf commit 0f81d07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http/src/util/service/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ macro_rules! async_fn_impl {
type Output = Fut::Output;
type Future = Fut;

#[inline]
fn call(&self, ($($arg,)*): ($($arg,)*)) -> Self::Future {
self($($arg,)*)
}
Expand Down

0 comments on commit 0f81d07

Please sign in to comment.