From 21c3b625d7324309662581fae8086f885410fe0c Mon Sep 17 00:00:00 2001 From: jonathandturner Date: Wed, 16 Mar 2016 18:38:28 -0400 Subject: [PATCH] Remove unnecessary Debug trait from example --- examples/custom_types_and_methods.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}