bitrot: replace bare traits object syntax with dyn traits

This commit is contained in:
2021-02-04 06:24:35 -08:00
parent dea54e4883
commit 9dd48d359c
6 changed files with 13 additions and 13 deletions

View File

@@ -26,7 +26,7 @@ pub struct Town {
}
impl HasMap for Town {
fn map(&self) -> &Map {
fn map(&self) -> &dyn Map {
&self.map
}
}