Skip to content

Commit baf1f78

Browse files
author
Giuliano Bellini
committed
clippy lint
1 parent 43b3f8e commit baf1f78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/structs/postfix_expression.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ impl<Predicate: Clone> PostfixExpression<Predicate> {
1515
Self::are_tokens_valid(&tokens).then(|| Self { tokens })
1616
}
1717

18+
#[must_use]
1819
pub fn get_tokens(&self) -> Vec<PostfixToken<Predicate>> {
1920
self.tokens.clone()
2021
}

0 commit comments

Comments
 (0)