Skip to content

Commit

Permalink
Add comment explaining the reason for adding an exception to the carg…
Browse files Browse the repository at this point in the history
…o clippy
  • Loading branch information
vladbochok committed Feb 5, 2021
1 parent 61fce66 commit 3eda4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/bin/data_restore/src/events_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl EventsState {
/// * `eth_blocks_step` - Ethereum blocks delta step
/// * `end_eth_blocks_offset` - last block delta
///
#[allow(clippy::needless_lifetimes)]
#[allow(clippy::needless_lifetimes)] // Cargo clippy gives a false positive warning on needless_lifetimes there, so can be allowed.
async fn get_new_events_and_last_watched_block<'a, T: Transport>(
web3: &Web3<T>,
zksync_contracts: &'a [ZkSyncDeployedContract<T>],
Expand Down

0 comments on commit 3eda4df

Please sign in to comment.