mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
Use .pretty() instead of defining Display as pretty version
This commit is contained in:
@@ -52,9 +52,9 @@ pub fn main() {
|
||||
);
|
||||
|
||||
match result {
|
||||
Ok(result) => println!("{}", result),
|
||||
Ok(result) => println!("{}", result.pretty()),
|
||||
Err(err) => {
|
||||
println!("Uncaught exception: {}", err);
|
||||
println!("Uncaught exception: {}", err.pretty());
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user