From 17db8a2950ded4836ac69006f575782400f994d8 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Sun, 12 Nov 2023 13:48:55 -0800 Subject: [PATCH] refactor: use unwrap_or_default as suggested by clippy nightly --- crates/tabby/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tabby/src/main.rs b/crates/tabby/src/main.rs index f7645cf..15202fe 100644 --- a/crates/tabby/src/main.rs +++ b/crates/tabby/src/main.rs @@ -49,7 +49,7 @@ async fn main() { let cli = Cli::parse(); init_logging(cli.otlp_endpoint); - let config = Config::load().unwrap_or(Config::default()); + let config = Config::load().unwrap_or_default(); match &cli.command { Commands::Serve(args) => serve::main(&config, args).await,