~gbmor/clinte

ref: 06af54fd6068780daa44a004dd62f194f41c07b0 clinte/src/user.rs -rw-r--r-- 189 bytes
06af54fdBenjamin Morrison removed panic on error in favor of exit(1) and clean msg 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
lazy_static! {
    pub static ref NAME: String = users::get_current_username()
        .expect("Could not get username")
        .into_string()
        .expect("Could not get username");
}