chore: fmt

This commit is contained in:
Georgios Konstantopoulos 2023-02-13 17:10:01 -08:00
parent 7511d22c2f
commit 85d7c07fa8
1 changed files with 1 additions and 4 deletions

View File

@ -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
}