Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Feb 3, 2025
1 parent 2a5d490 commit 1fb6e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/test-utils/src/zksync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
}
}

Expand Down

0 comments on commit 1fb6e2b

Please sign in to comment.