diff --git a/examples/custom_types_and_methods.rs b/examples/custom_types_and_methods.rs index 03be0cf1..5fc2e894 100644 --- a/examples/custom_types_and_methods.rs +++ b/examples/custom_types_and_methods.rs @@ -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::("var x = new_ts(); x.update(); x") { println!("result: {}", result.x); // prints 1001 } -} \ No newline at end of file +}