mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 04:52:28 +00:00
fix endpoint macro not using ()
for empty bodies
This commit is contained in:
parent
59e97f5d70
commit
0c5be5d01a
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ impl EndpointType {
|
|||
if self.needs_body().value {
|
||||
arg_ty.to_token_stream()
|
||||
} else {
|
||||
quote!(::gotham_restful::gotham::extractor::NoopPathExtractor)
|
||||
quote!(())
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue