diff --git a/src/lib.rs b/src/lib.rs index b7c2c12..e3882a4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -26,7 +26,7 @@ impl fmt::Display for Author { pub fn get_main_author() -> Author { let cfg = match Repository::open_from_env() { 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();