fn rc(lock: &CONFM) -> RwLockReadGuard<Config> {
	lock.read().unwrap_or_else(|_| {
		println!("[Fatal]: Something seriously went wrong when KatWebX was reloading!");
		println!("Hot-reloading the config safely isn't perfect. You should never encounter this error, but if you do, please report it on KatWebX's GitHub.");
		process::exit(exitcode::SOFTWARE); // If the RwLock manages to get poisoned (which should be impossible), anything which requires access to the config will fail to function properly.
	})
}
// rc converts a RwLock<Config> into a config.
rc converts a RwLock into a config.
rc converts a RwLock into a config .
fn rc(lock: &CONFM) -> RwLockReadGuard<Config> {
	lock.read().unwrap_or_else(|_| {
		println!("[Fatal]: Something seriously went wrong when KatWebX was reloading!");
		println!("Hot-reloading the config safely isn't perfect. You should never encounter this error, but if you do, please report it on KatWebX's GitHub.");
		process::exit(exitcode::SOFTWARE); // If the RwLock manages to get poisoned (which should be impossible), anything which requires access to the config will fail to function properly.
	})
}
fn rc ( lock : & CONFM ) -> RwLockReadGuard < Config > { lock . read ( ) . unwrap_or_else ( | _ | { println ! ( " " ) ; println ! ( " " ) ; process :: exit ( exitcode :: SOFTWARE ) ; // If the RwLock manages to get poisoned (which should be impossible), anything which requires access to the config will fail to function properly. } ) }
rc converts a RwLock<Config> into a config.
rc converts a RwLock<Config > into a config .
lock
&CONFM
lock
&CONFM