From a501924eb2f6bce223041e811024412267c3ffe5 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 20 Jul 2022 13:18:37 +0100 Subject: [PATCH] Remove unneeded turbofish It is sufficient to declare the type as the `kw::ignore` case does. --- crates/test-case-macros/src/modifier.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/test-case-macros/src/modifier.rs b/crates/test-case-macros/src/modifier.rs index ddd9bef..9065d26 100644 --- a/crates/test-case-macros/src/modifier.rs +++ b/crates/test-case-macros/src/modifier.rs @@ -15,7 +15,7 @@ pub enum Modifier { impl Parse for Modifier { fn parse(input: ParseStream) -> syn::Result { if input.peek(kw::inconclusive) { - let _: kw::inconclusive = input.parse::()?; + let _: kw::inconclusive = input.parse()?; Ok(Self::Inconclusive) } else if input.peek(kw::ignore) { let _: kw::ignore = input.parse()?;