Skip to content

Commit

Permalink
Fix: clippy should implement trait
Browse files Browse the repository at this point in the history
  • Loading branch information
ding-young committed Jul 23, 2022
1 parent 45e3f57 commit 054548e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/ast_builder/expr/unary_op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ impl ExprNode {
pub fn minus(self) -> Self {
minus(self)
}
#[allow(clippy::should_implement_trait)]
pub fn not(self) -> Self {
not(self)
}
Expand Down

0 comments on commit 054548e

Please sign in to comment.