From 20938fe5a65659b7c9ffae8ceaf3b2e309b95854 Mon Sep 17 00:00:00 2001 From: rooooooooob Date: Sun, 14 Jul 2024 10:26:07 -0700 Subject: [PATCH] fmt --- indexer/src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/indexer/src/main.rs b/indexer/src/main.rs index 1785c4d3..9d080f45 100644 --- a/indexer/src/main.rs +++ b/indexer/src/main.rs @@ -47,7 +47,7 @@ pub struct Cli { pub enum DbConfig { Postgres { #[serde(default = "get_env_db_url")] - database_url: String + database_url: String, }, } @@ -89,8 +89,7 @@ fn get_env_db_url() -> String { } fn get_env_network() -> String { - std::env::var("NETWORK") - .expect("env NETWORK not found and config did not specify sink.network") + std::env::var("NETWORK").expect("env NETWORK not found and config did not specify sink.network") } #[allow(unreachable_patterns)]