Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
PoignardAzur committed Jan 23, 2024
1 parent 6fcd444 commit 9656201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ fn consume_attributes_with_inner(tokens: &mut TokenIter, expect_inner: bool) ->
Some(TokenTree::Punct(punct)) if punct.as_char() == '=' => {
let tk_equals = punct.clone();
attribute_tokens.next();
let value = attribute_tokens.into_iter().collect();
let value = attribute_tokens.collect();
AttributeValue::Equals(tk_equals, value)
}
_ => unreachable!(),
Expand Down

0 comments on commit 9656201

Please sign in to comment.