mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-27 11:03:03 +03:00
fix new fmt check
This commit is contained in:
parent
2377924f9c
commit
11c65f633f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user