diff options
Diffstat (limited to 'src/entities/creature.rs')
-rw-r--r-- | src/entities/creature.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/creature.rs b/src/entities/creature.rs index 87ffda161e1c..20071c1d88eb 100644 --- a/src/entities/creature.rs +++ b/src/entities/creature.rs @@ -57,7 +57,7 @@ impl Describe for Creature { } impl display::Draw for Creature { - fn do_draw(&self, out: &mut Write) -> io::Result<()> { + fn do_draw(&self, out: &mut dyn Write) -> io::Result<()> { write!(out, "{}", self.typ.chr) } } |