Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
prozacchiwawa committed Jan 22, 2025
1 parent ca40c3e commit c8b2c13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/classic/clvm_tools/stages/stage_2/operators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ impl CompilerOperatorsInternal {
// Use the filesystem like normal if the opts couldn't find
// the file.
fs::read_to_string(&filename)
.map_err(|_| EvalErr(NodePtr::NIL, format!("Failed to read file {filename}")))
.map_err(|_| {
EvalErr(NodePtr::NIL, format!("Failed to read file {filename}"))
})
.and_then(|content| parse_file_content(allocator, &content))
}
_ => Err(EvalErr(NodePtr::NIL, "filename is not an atom".to_string())),
Expand Down

0 comments on commit c8b2c13

Please sign in to comment.