From 1fb6e2b0335e83b04455ac5b120b91012196ce8b Mon Sep 17 00:00:00 2001 From: Nisheeth Barthwal Date: Mon, 3 Feb 2025 17:31:40 +0100 Subject: [PATCH] clippy --- crates/test-utils/src/zksync.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/test-utils/src/zksync.rs b/crates/test-utils/src/zksync.rs index d4440bd1a..a9117c45f 100644 --- a/crates/test-utils/src/zksync.rs +++ b/crates/test-utils/src/zksync.rs @@ -125,12 +125,12 @@ pub struct Fork { impl Fork { /// Create a fork config with the provided url and the latest block. pub fn new(url: String) -> Self { - Fork { url, ..Default::default() } + Self { url, ..Default::default() } } /// Create a fork config with the provided url and block. pub fn new_with_block(url: String, block: u64) -> Self { - Fork { url, block: Some(block) } + Self { url, block: Some(block) } } }