Skip to content

Commit

Permalink
clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuliano Bellini committed Sep 6, 2024
1 parent 43b3f8e commit baf1f78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/structs/postfix_expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ impl<Predicate: Clone> PostfixExpression<Predicate> {
Self::are_tokens_valid(&tokens).then(|| Self { tokens })
}

#[must_use]
pub fn get_tokens(&self) -> Vec<PostfixToken<Predicate>> {
self.tokens.clone()
}
Expand Down

0 comments on commit baf1f78

Please sign in to comment.