pub isn't needed for these vars

master
rasul 5 years ago
parent 6e8e99e329
commit 81c1c2920c

@ -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<usize> = RefCell::new(0);
pub static NAME_MAX: RefCell<usize> = RefCell::new(0);
pub static NAME_CHARS: RefCell<&'static str> = RefCell::new("");
pub static PASS_MIN: RefCell<usize> = RefCell::new(0);
pub static PASS_MAX: RefCell<usize> = RefCell::new(0);
pub static PASS_CHARS: RefCell<&'static str> = RefCell::new("");
static NAME_MIN: RefCell<usize> = RefCell::new(0);
static NAME_MAX: RefCell<usize> = RefCell::new(0);
static NAME_CHARS: RefCell<&'static str> = RefCell::new("");
static PASS_MIN: RefCell<usize> = RefCell::new(0);
static PASS_MAX: RefCell<usize> = RefCell::new(0);
static PASS_CHARS: RefCell<&'static str> = RefCell::new("");
}
/// Return value for check functions

Loading…
Cancel
Save