Skip to content

Commit 11c65f6

Browse files
committed
fix new fmt check
1 parent 2377924 commit 11c65f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

asyncgit/src/sync/config.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ pub fn get_config_string_repo(
9292
// gets returned when but it actually works
9393
let entry_res = cfg.get_entry(key);
9494

95-
let Ok(entry) = entry_res else { return Ok(None) };
95+
let Ok(entry) = entry_res else {
96+
return Ok(None);
97+
};
9698

9799
if entry.has_value() {
98100
Ok(entry.value().map(std::string::ToString::to_string))

0 commit comments

Comments
 (0)