From 81c1c2920cb090e3020b81228448c97fd1bb5980 Mon Sep 17 00:00:00 2001 From: rasul Date: Wed, 29 Apr 2020 08:49:00 -0500 Subject: [PATCH] pub isn't needed for these vars --- src/check.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/check.rs b/src/check.rs index cbd52e4..68e217f 100644 --- a/src/check.rs +++ b/src/check.rs @@ -5,12 +5,12 @@ use crate::config::Player; // this global stuff is so that we can load up the config and check stuff without // being part of the Game struct thread_local! { - pub static NAME_MIN: RefCell = RefCell::new(0); - pub static NAME_MAX: RefCell = RefCell::new(0); - pub static NAME_CHARS: RefCell<&'static str> = RefCell::new(""); - pub static PASS_MIN: RefCell = RefCell::new(0); - pub static PASS_MAX: RefCell = RefCell::new(0); - pub static PASS_CHARS: RefCell<&'static str> = RefCell::new(""); + static NAME_MIN: RefCell = RefCell::new(0); + static NAME_MAX: RefCell = RefCell::new(0); + static NAME_CHARS: RefCell<&'static str> = RefCell::new(""); + static PASS_MIN: RefCell = RefCell::new(0); + static PASS_MAX: RefCell = RefCell::new(0); + static PASS_CHARS: RefCell<&'static str> = RefCell::new(""); } /// Return value for check functions