Skip to content

Commit 23004cf

Browse files
committed
chore: clippy
1 parent 0abe20f commit 23004cf

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

crates/compilers/src/cache.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@ impl<'a, T: ArtifactOutput<CompilerContract = C::CompilerContract>, C: Compiler>
11921192
///
11931193
/// Returns all the _cached_ artifacts.
11941194
#[instrument(name = "ArtifactsCache::consume", skip_all)]
1195+
#[allow(clippy::type_complexity)]
11951196
pub fn consume<A>(
11961197
self,
11971198
written_artifacts: &Artifacts<A>,

crates/compilers/src/cache/iface.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub(crate) fn interface_repr_hash(content: &str, path: &Path) -> Option<String>
1111
}
1212

1313
pub(crate) fn interface_repr(content: &str, path: &Path) -> Result<String, EmittedDiagnostics> {
14-
parse_one_source(content, path, |ast| interface_representation_ast(content, &ast))
14+
parse_one_source(content, path, |ast| interface_representation_ast(content, ast))
1515
}
1616

1717
/// Helper function to remove parts of the contract which do not alter its interface:

crates/compilers/src/resolver/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,7 @@ impl<P: SourceParser> Graph<P> {
855855
///
856856
/// This also attempts to prefer local installations over remote available.
857857
/// If `offline` is set to `true` then only already installed.
858+
#[allow(clippy::type_complexity)]
858859
fn get_input_node_versions<
859860
C: Compiler<Language = L<P>>,
860861
T: ArtifactOutput<CompilerContract = C::CompilerContract>,

0 commit comments

Comments
 (0)