Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

chore(clippy): fix new lint #2146

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions ethers-solc/src/compile/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,7 @@ impl Solc {
#[cfg(feature = "async")]
impl Solc {
/// Convenience function for compiling all sources under the given path
pub async fn async_compile_source<T: Serialize>(
&self,
path: impl AsRef<Path>,
) -> Result<CompilerOutput> {
pub async fn async_compile_source(&self, path: impl AsRef<Path>) -> Result<CompilerOutput> {
self.async_compile(&CompilerInput::with_sources(Source::async_read_all_from(path).await?))
.await
}
Expand Down