I don't need this syntax

This commit is contained in:
greg 2017-11-01 01:25:26 -07:00
parent f25b76ea11
commit b62f618256

View File

@ -20,9 +20,9 @@ extern { }
fn main() { fn main() {
let generators: Vec<PLIGenerator> = vec![ let generators: Vec<PLIGenerator> = vec![
Box::new(|| { let x: Box<ProgrammingLanguageInterface> = Box::new(schala_lang::Schala::new()); x }), Box::new(|| { Box::new(schala_lang::Schala::new())}),
Box::new(|| { let x: Box<ProgrammingLanguageInterface> = Box::new(maaru_lang::Maaru::new()); x }), Box::new(|| { Box::new(maaru_lang::Maaru::new())}),
Box::new(|| { let x: Box<ProgrammingLanguageInterface> = Box::new(robo_lang::Robo::new()); x }), Box::new(|| { Box::new(robo_lang::Robo::new())}),
]; ];
schala_main(generators); schala_main(generators);
} }