Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed Feb 14, 2023
1 parent 7511d22 commit 85d7c07
Showing 1 changed file with 1 addition and 4 deletions.
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(
&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

0 comments on commit 85d7c07

Please sign in to comment.