Fix format

This commit is contained in:
Martin Frost 2021-08-18 23:12:51 +02:00
parent 9d09b31602
commit fe1c91cfa5
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ impl fmt::Display for Author {
pub fn get_main_author() -> Author { pub fn get_main_author() -> Author {
let cfg = match Repository::open_from_env() { let cfg = match Repository::open_from_env() {
Ok(repo) => repo.config().unwrap(), Ok(repo) => repo.config().unwrap(),
Err(_e) => Config::open_default().unwrap() Err(_e) => Config::open_default().unwrap(),
}; };
let name = cfg.get_entry("user.name").unwrap(); let name = cfg.get_entry("user.name").unwrap();