Remove unnecessary references to Debug

This commit is contained in:
jonathandturner 2016-03-10 16:48:56 -05:00
parent 21567b7518
commit bcdcc3c148

View File

@ -154,7 +154,7 @@ Here's an more complete example of working with Rust. First the example, then w
extern crate rhai; extern crate rhai;
use rhai::{Engine, FnRegister}; use rhai::{Engine, FnRegister};
#[derive(Debug, Clone)] #[derive(Clone)]
struct TestStruct { struct TestStruct {
x: i32 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. 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 ```Rust
#[derive(Debug, Clone)] #[derive(Clone)]
struct TestStruct { struct TestStruct {
x: i32 x: i32
} }