From 6ddeec416697bc0f8ca5f60e9292ec409ce21194 Mon Sep 17 00:00:00 2001 From: jonathandturner Date: Wed, 2 Mar 2016 14:51:51 -0500 Subject: [PATCH] Remove debug function --- src/main.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index e645ac75..559d42d4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,16 +27,10 @@ fn showit(x: &mut T) -> () { println!("{}", x) } -fn greet() { - println!("hello!"); -} - fn main() { for fname in env::args().skip(1) { let mut engine = Engine::new(); - &(greet as fn()->()).register(&mut engine, "greet"); - &(showit as fn(x: &mut i32)->()).register(&mut engine, "print"); &(showit as fn(x: &mut i64)->()).register(&mut engine, "print"); &(showit as fn(x: &mut u32)->()).register(&mut engine, "print");