Browse Source

Derive debug for Message struct

Thomas Dy 9 years ago
parent
commit
46cfb5ca7f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/comm.rs

+ 1 - 0
src/comm.rs

@@ -2,6 +2,7 @@ use std::sync::mpsc::{Sender};
 
 pub type Channel = Sender<Message>;
 
+#[derive(Debug)]
 pub struct Message {
     pub kind: String,
     pub text: String