about summary refs log tree commit diff
path: root/src/entities/entity.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/entity.rs')
-rw-r--r--src/entities/entity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/entity.rs b/src/entities/entity.rs
index e43175931b68..01075d298f81 100644
--- a/src/entities/entity.rs
+++ b/src/entities/entity.rs
@@ -103,7 +103,7 @@ impl_downcast!(Entity);
 impl DrawWithNeighbors for Box<dyn Entity> {
     fn do_draw_with_neighbors<'a, 'b>(
         &'a self,
-        out: &'b mut Write,
+        out: &'b mut dyn Write,
         neighbors: &'a Neighbors<Vec<&'a Box<dyn Entity>>>,
     ) -> io::Result<()> {
         (**self).do_draw_with_neighbors(out, neighbors)