From 04893105df11e844b195754457ed05c201da8f73 Mon Sep 17 00:00:00 2001 From: SadlyNotSappho Date: Tue, 22 Aug 2023 11:47:35 -0700 Subject: [PATCH] format --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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", ),