From 662d29a85900781456a774b594c8411af72cf017 Mon Sep 17 00:00:00 2001 From: 0xevolve Date: Fri, 15 Nov 2024 00:47:05 +0700 Subject: [PATCH] fix: clippy --- pragma-node/src/utils/signing/typed_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pragma-node/src/utils/signing/typed_data.rs b/pragma-node/src/utils/signing/typed_data.rs index ac742a05..4fa306d2 100644 --- a/pragma-node/src/utils/signing/typed_data.rs +++ b/pragma-node/src/utils/signing/typed_data.rs @@ -543,7 +543,7 @@ mod tests { // Optionally, you can assert certain properties of `typed_data` // For now, we'll just ensure that deserialization succeeds - assert!(typed_data.types.len() > 0); + assert!(!typed_data.types.is_empty()); assert!(!typed_data.primary_type.is_empty()); }