From b0e665f5436e08e4fd7446a59b87ac28f562a601 Mon Sep 17 00:00:00 2001 From: troido Date: Sun, 9 Feb 2020 23:54:24 +0100 Subject: refactoring using cargo clippy --- src/room.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/room.rs') 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(); } -- cgit