Remove unnecessary Debug trait from example

This commit is contained in:
jonathandturner 2016-03-16 18:38:28 -04:00
parent cfac566425
commit 21c3b625d7

View File

@ -1,7 +1,7 @@
extern crate rhai;
use rhai::{Engine, FnRegister};
#[derive(Debug, Clone)]
#[derive(Clone)]
struct TestStruct {
x: i32
}
@ -27,4 +27,4 @@ fn main() {
if let Ok(result) = engine.eval::<TestStruct>("var x = new_ts(); x.update(); x") {
println!("result: {}", result.x); // prints 1001
}
}
}