Skip to content

Commit

Permalink
Fix clippy - allow elided_named_lifetimes (foundry-rs#8787)
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy authored Sep 2, 2024
1 parent d75318c commit 5881e0d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/common/src/ens.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! ENS Name resolving utilities.
#![allow(missing_docs)]
#![allow(missing_docs, elided_named_lifetimes)]

use self::EnsResolver::EnsResolverInstance;
use alloy_primitives::{address, Address, Keccak256, B256};
Expand Down
1 change: 1 addition & 0 deletions crates/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//!
//! Foundry configuration.
#![allow(elided_named_lifetimes)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

Expand Down
2 changes: 2 additions & 0 deletions crates/doc/src/preprocessor/infer_hyperlinks.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(elided_named_lifetimes)]

use super::{Preprocessor, PreprocessorId};
use crate::{Comments, Document, ParseItem, ParseSource};
use forge_fmt::solang_ext::SafeUnwrap;
Expand Down
2 changes: 2 additions & 0 deletions crates/forge/src/multi_runner.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//! Forge test runner for multiple contracts.
#![allow(elided_named_lifetimes)]

use crate::{
progress::TestsProgress, result::SuiteResult, runner::LIBRARY_DEPLOYER, ContractRunner,
TestFilter, TestOptions,
Expand Down

0 comments on commit 5881e0d

Please sign in to comment.