From bcdcc3c148b6a8d91c45fc8591d8aded1eec15eb Mon Sep 17 00:00:00 2001 From: jonathandturner Date: Thu, 10 Mar 2016 16:48:56 -0500 Subject: [PATCH] Remove unnecessary references to Debug --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 54565536..de636ab6 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ Here's an more complete example of working with Rust. First the example, then w extern crate rhai; use rhai::{Engine, FnRegister}; -#[derive(Debug, Clone)] +#[derive(Clone)] struct TestStruct { x: i32 } @@ -186,7 +186,7 @@ fn main() { First, for each type we use with the engine, we need to be able to Clone. This allows the engine to pass by value and still keep its own state. ```Rust -#[derive(Debug, Clone)] +#[derive(Clone)] struct TestStruct { x: i32 }