I don't need this syntax

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

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);
} }