diff --git a/src/lib.rs b/src/lib.rs index 062284f..4972b48 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,8 +6,7 @@ use serde::{Deserialize, Serialize}; pub fn get_home() -> String { let home = match std::env::consts::OS { "linux" => std::env::var("HOME").expect("how is there not a $HOME"), - "windows" => std::env::var("userprofile") - .expect("yell at me if this doesn't work please"), + "windows" => std::env::var("userprofile").expect("yell at me if this doesn't work please"), _ => std::env::var("HOME").expect( "if this doesn't work, you're probably on macos, which i literally cannot test on", ),