From 11c65f633fb345a5f73d8eb16f0684bdb6e5f28d Mon Sep 17 00:00:00 2001 From: extrawurst Date: Sat, 26 Aug 2023 13:52:47 +0200 Subject: [PATCH] fix new fmt check --- asyncgit/src/sync/config.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/asyncgit/src/sync/config.rs b/asyncgit/src/sync/config.rs index f545da4e..dd7043ef 100644 --- a/asyncgit/src/sync/config.rs +++ b/asyncgit/src/sync/config.rs @@ -92,7 +92,9 @@ pub fn get_config_string_repo( // gets returned when but it actually works let entry_res = cfg.get_entry(key); - let Ok(entry) = entry_res else { return Ok(None) }; + let Ok(entry) = entry_res else { + return Ok(None); + }; if entry.has_value() { Ok(entry.value().map(std::string::ToString::to_string))