diff options
Diffstat (limited to 'src/user.rs')
-rw-r--r-- | src/user.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user.rs b/src/user.rs index 7aac1b4..df785be 100644 --- a/src/user.rs +++ b/src/user.rs @@ -2,7 +2,7 @@ use users; lazy_static! { pub static ref NAME: String = users::get_current_username() - .unwrap() + .expect("Could not get username") .into_string() - .unwrap(); + .expect("Could not get username"); } |