From a3d3c3e7f8e73fe9c56dd2ac8691349748b18310 Mon Sep 17 00:00:00 2001 From: rasul Date: Fri, 3 Apr 2020 18:22:36 -0500 Subject: [PATCH] direction isn't needed --- src/database/rooms.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/rooms.rs b/src/database/rooms.rs index 21b5453..a4f12d1 100644 --- a/src/database/rooms.rs +++ b/src/database/rooms.rs @@ -35,7 +35,7 @@ impl Db { "Unable to perform query" ); - for (direction, exit) in room.exits.iter() { + for (_, exit) in room.exits.iter() { let mut statement = try_log!( self.0 .prepare("insert into exits (room, target, direction) values (?, ?, ?);"),