mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-20 18:56:17 +00:00
cargo fmt
This commit is contained in:
1 parent
9c44eeac06
commit
3184397c43
1 file changed
+3
-2
@@ -184,8 +184,9 @@ pub fn standard_output<T: Compiler>(
|
||||
if let Some(sources) = &solc_output.sources {
|
||||
for source_path in sources.keys() {
|
||||
if !source_code_files.contains_key(source_path) {
|
||||
let source = std::fs::read_to_string(source_path)
|
||||
.map_err(|e| anyhow::anyhow!("Can't read source file at `{}`: {}", source_path, e))?;
|
||||
let source = std::fs::read_to_string(source_path).map_err(|e| {
|
||||
anyhow::anyhow!("Can't read source file at `{}`: {}", source_path, e)
|
||||
})?;
|
||||
let _ = source_code_files.insert(source_path.clone(), source);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user