mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
clippy
This commit is contained in:
parent
61148026d1
commit
c7941f7639
1 changed files with 3 additions and 0 deletions
|
@ -301,6 +301,9 @@ pub fn server_macro_impl(
|
|||
}}
|
||||
};
|
||||
quote! {
|
||||
// we need this for Actix, for the SendWrapper to count as impl Future
|
||||
// but non-Actix will have a clippy warning otherwise
|
||||
#[allow(clippy::manual_async_fn)]
|
||||
fn run_body(self) -> impl std::future::Future<Output = #return_ty> + Send {
|
||||
#body
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue