Add Debug to Value trait

This commit is contained in:
Eryn Wells 2017-01-12 21:37:42 -08:00
parent 8bd71a144d
commit db2e81d518

View file

@ -2,6 +2,8 @@
* Eryn Wells <eryn@erynwells.me> * Eryn Wells <eryn@erynwells.me>
*/ */
use std::fmt;
pub use self::number::Number; pub use self::number::Number;
pub mod number; pub mod number;
@ -9,6 +11,6 @@ pub mod number;
pub type Boolean = bool; pub type Boolean = bool;
pub type Character = char; pub type Character = char;
pub trait Value { } pub trait Value: fmt::Debug { }
impl Value for Boolean { } impl Value for Boolean { }
impl Value for Character { } impl Value for Character { }