Skip to content

Commit

Permalink
Remove unneeded turbofish
Browse files Browse the repository at this point in the history
It is sufficient to declare the type as the `kw::ignore` case does.
  • Loading branch information
ijc committed Jul 21, 2022
1 parent a877053 commit a501924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/test-case-macros/src/modifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub enum Modifier {
impl Parse for Modifier {
fn parse(input: ParseStream) -> syn::Result<Self> {
if input.peek(kw::inconclusive) {
let _: kw::inconclusive = input.parse::<kw::inconclusive>()?;
let _: kw::inconclusive = input.parse()?;
Ok(Self::Inconclusive)
} else if input.peek(kw::ignore) {
let _: kw::ignore = input.parse()?;
Expand Down

0 comments on commit a501924

Please sign in to comment.