api: Add missing anonymous lifetime

This commit is contained in:
Jonas Platte 2021-06-20 12:27:51 +02:00
parent d467eaf621
commit 5db8373117
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -133,7 +133,7 @@ pub enum AuthScheme {
}
impl Parse for AuthScheme {
fn parse(input: ParseStream) -> syn::Result<Self> {
fn parse(input: ParseStream<'_>) -> syn::Result<Self> {
let lookahead = input.lookahead1();
if lookahead.peek(kw::None) {