From a4ac0c86e9149f93c16cd30bc063e806d821932e Mon Sep 17 00:00:00 2001 From: rasul Date: Sun, 5 Apr 2020 13:31:02 -0500 Subject: [PATCH] prefix with _ to supporess warnings, this function isn't currently used but could be in the future --- src/database/players.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/players.rs b/src/database/players.rs index 6c42ac0..aa70819 100644 --- a/src/database/players.rs +++ b/src/database/players.rs @@ -10,7 +10,7 @@ use crate::try_log; impl Db { /// Load a player from the database. - pub fn load_player(&self, id: Id) -> RudeResult> { + pub fn _load_player(&self, id: Id) -> RudeResult> { let mut statement = try_log!( self.0 .prepare("select id, name, password, created, location from players where id = ?"),