diff options
| author | troido <troido@protonmail.com> | 2020-02-09 23:54:24 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-09 23:54:24 +0100 |
| commit | b0e665f5436e08e4fd7446a59b87ac28f562a601 (patch) | |
| tree | fcdeee5178606eadfe1e1b5744410bfd4fef260a /src/room.rs | |
| parent | b9cfb78c20fd309929aae98f24acc8ba4a9a7481 (diff) | |
refactoring using cargo clippy
Diffstat (limited to 'src/room.rs')
| -rw-r--r-- | src/room.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/room.rs b/src/room.rs index 6af2c95..9aad22d 100644 --- a/src/room.rs +++ b/src/room.rs @@ -88,7 +88,7 @@ impl <'a, 'b>Room<'a, 'b> { } pub fn update(&mut self) { - self.dispatcher.dispatch(&mut self.world); + self.dispatcher.dispatch(&self.world); self.world.maintain(); } |
