From c214e1c59e54b895e32c332afc6bb8e897b01d0e Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Wed, 26 Mar 2025 14:49:15 +0300 Subject: Fixing errs --- src/configmanager.rs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/configmanager.rs') diff --git a/src/configmanager.rs b/src/configmanager.rs index 0bbbb73..c0047a5 100644 --- a/src/configmanager.rs +++ b/src/configmanager.rs @@ -17,6 +17,14 @@ pub struct Config { pub snowy: String, } +pub fn handle_config(_config: &Config) -> Result<(), Box> { + Ok(()) +} + +pub fn gen_standard_conf() { + // TODO: Implement +} + impl Config { pub fn load() -> Result> { let mut path = home_dir().ok_or("Home directory not found")?; @@ -28,10 +36,3 @@ impl Config { } } -pub fn handle_config(_config: &Config) -> Result<(), Box> { - Ok(()) -} - -pub fn gen_standard_conf() { - // TODO: Implement -} \ No newline at end of file -- cgit v1.2.3