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) } } }