1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-22 20:52:27 +00:00

fix missing FromState import

This commit is contained in:
Dominic 2021-01-18 18:38:12 +01:00
parent 5261aa9931
commit 70914d107b
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -498,6 +498,7 @@ fn expand_endpoint_type(mut ty: EndpointType, attrs: AttributeArgs, fun: &ItemFn
Ok(quote! { Ok(quote! {
use ::gotham_restful::export::FutureExt as _; use ::gotham_restful::export::FutureExt as _;
use ::gotham_restful::gotham::state::FromState as _;
#state_block #state_block
async move { async move {
#handle_content #handle_content