fixup! Satisfy clippy
@@ -68,15 +68,13 @@ impl Attribute {
if rest.is_empty() {
list_of_nested_meta_items_from_tokens(result, rest)
}
- else {
- if let TokenTree::Token(Token::Comma) = rest[0] {
+ else if let TokenTree::Token(Token::Comma) = rest[0] {
list_of_nested_meta_items_from_tokens(result, &rest[1..])
}
else {
None
}
}
- }
None => None
}
