From bf7f4d5381203d5c27b2811d62c5b1781533aa2b Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 19 Nov 2025 17:01:36 +0000 Subject: fix some clippy fmt warnings --- src/config.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 252873d..b4dd853 100644 --- a/src/config.rs +++ b/src/config.rs @@ -19,10 +19,8 @@ impl Config { dotenvy::dotenv().ok(); Ok(Config { - domain: env::var("NGIT_DOMAIN") - .unwrap_or_else(|_| "localhost:8080".to_string()), - owner_npub: env::var("NGIT_OWNER_NPUB") - .context("NGIT_OWNER_NPUB must be set")?, + domain: env::var("NGIT_DOMAIN").unwrap_or_else(|_| "localhost:8080".to_string()), + owner_npub: env::var("NGIT_OWNER_NPUB").context("NGIT_OWNER_NPUB must be set")?, relay_name: env::var("NGIT_RELAY_NAME") .unwrap_or_else(|_| "ngit-grasp relay".to_string()), relay_description: env::var("NGIT_RELAY_DESCRIPTION") -- cgit v1.2.3