CLIPPY IS THE MASTER OF ALL! (especially anal retentiveness)
This commit is contained in:
parent
b89e330423
commit
da50da4e08
1 changed files with 2 additions and 3 deletions
|
@ -33,9 +33,8 @@ fn run(source: String) -> ErrorHandler {
|
||||||
None => (),
|
None => (),
|
||||||
Some(ast) => {
|
Some(ast) => {
|
||||||
println!("AST generated ! {}", ast.dump());
|
println!("AST generated ! {}", ast.dump());
|
||||||
match evaluate(&mut error_handler, &ast) {
|
if let Some(v) = evaluate(&mut error_handler, &ast) {
|
||||||
Some(v) => println!("Final evaluated value: {:?}", v),
|
println!("Final evaluated value: {:?}", v)
|
||||||
None => (),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue