diff options
Diffstat (limited to 'src/display/mod.rs')
-rw-r--r-- | src/display/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/display/mod.rs b/src/display/mod.rs index 9e15a0d97d62..3e30200ac723 100644 --- a/src/display/mod.rs +++ b/src/display/mod.rs @@ -1,3 +1,4 @@ +pub mod color; pub mod draw_box; pub mod utils; pub mod viewport; @@ -17,13 +18,13 @@ pub trait Draw: Positioned { fn do_draw(&self, out: &mut Write) -> io::Result<()>; } -impl<T : Draw> Draw for &T { +impl<T: Draw> Draw for &T { fn do_draw(&self, out: &mut Write) -> io::Result<()> { (**self).do_draw(out) } } -impl<T : Draw> Draw for Box<T> { +impl<T: Draw> Draw for Box<T> { fn do_draw(&self, out: &mut Write) -> io::Result<()> { (**self).do_draw(out) } |