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:
parent
5261aa9931
commit
70914d107b
1 changed files with 1 additions and 0 deletions
|
@ -498,6 +498,7 @@ fn expand_endpoint_type(mut ty: EndpointType, attrs: AttributeArgs, fun: &ItemFn
|
|||
|
||||
Ok(quote! {
|
||||
use ::gotham_restful::export::FutureExt as _;
|
||||
use ::gotham_restful::gotham::state::FromState as _;
|
||||
#state_block
|
||||
async move {
|
||||
#handle_content
|
||||
|
|
Loading…
Add table
Reference in a new issue