From ef7412dcd5b59e404f5ee523b5b688de2541d490 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 1 Nov 2017 01:25:26 -0700 Subject: [PATCH] I don't need this syntax --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6c16854..798fdfd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,9 +20,9 @@ extern { } fn main() { let generators: Vec = vec![ - Box::new(|| { let x: Box = Box::new(schala_lang::Schala::new()); x }), - Box::new(|| { let x: Box = Box::new(maaru_lang::Maaru::new()); x }), - Box::new(|| { let x: Box = Box::new(robo_lang::Robo::new()); x }), + Box::new(|| { Box::new(schala_lang::Schala::new())}), + Box::new(|| { Box::new(maaru_lang::Maaru::new())}), + Box::new(|| { Box::new(robo_lang::Robo::new())}), ]; schala_main(generators); }