api-macros: Fix tiny formatting inconsistency
This commit is contained in:
parent
b4aa66d68f
commit
073b699660
@ -148,7 +148,7 @@ impl Request {
|
|||||||
let body_lifetimes = if self.has_body_lifetimes() {
|
let body_lifetimes = if self.has_body_lifetimes() {
|
||||||
// duplicate the anonymous lifetime as many times as needed
|
// duplicate the anonymous lifetime as many times as needed
|
||||||
let lifetimes = std::iter::repeat(quote! { '_ }).take(self.lifetimes.body.len());
|
let lifetimes = std::iter::repeat(quote! { '_ }).take(self.lifetimes.body.len());
|
||||||
quote! { < #( #lifetimes, )* >}
|
quote! { < #( #lifetimes, )* > }
|
||||||
} else {
|
} else {
|
||||||
TokenStream::new()
|
TokenStream::new()
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user