From 054548e7a0eaeae773f326589b9c81ae880aba96 Mon Sep 17 00:00:00 2001 From: Seoyoung Lee Date: Sat, 23 Jul 2022 16:29:49 +0900 Subject: [PATCH] Fix: clippy should implement trait --- core/src/ast_builder/expr/unary_op.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ast_builder/expr/unary_op.rs b/core/src/ast_builder/expr/unary_op.rs index c8d60a57e..7b049f4fe 100644 --- a/core/src/ast_builder/expr/unary_op.rs +++ b/core/src/ast_builder/expr/unary_op.rs @@ -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) }