Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Dec 21, 2024
1 parent 5ddccc2 commit 22e704c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/zksync/compiler/src/zksolc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,9 @@ impl DualCompiledContracts {
pub fn len(&self) -> usize {
self.contracts.len()
}

/// Retrieves if the collection is empty.
pub fn is_empty(&self) -> bool {
self.contracts.is_empty()
}
}

0 comments on commit 22e704c

Please sign in to comment.