From 2f8c56cbc5cb6015b498f4b244ca5c3d13ffa01e Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Tue, 24 Sep 2024 11:37:58 +0200 Subject: Main prints result of interpreter --- rust/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/main.rs') diff --git a/rust/src/main.rs b/rust/src/main.rs index f401886..cf9477c 100644 --- a/rust/src/main.rs +++ b/rust/src/main.rs @@ -3,5 +3,5 @@ use std::env::args; use lambda::run; fn main() { - run(&args().nth(1).unwrap()); + println!("result: {}", run(&args().nth(1).unwrap())); } -- cgit v1.2.3