Use println!("...") instead of print!("...\n")

And also use exit without module path.
This commit is contained in:
jn 2023-02-02 02:30:36 +01:00
parent def2b4fb92
commit 226a0f1aff

View File

@ -355,8 +355,8 @@ fn main() {
let ast = match parse(&input_file) { let ast = match parse(&input_file) {
Ok(x) => x, Ok(x) => x,
Err(x) => { Err(x) => {
print!("{:#?}\n", x); println!("{:#?}", x);
std::process::exit(1); exit(1);
}, },
}; };