nightly clippy fix

This commit is contained in:
Stephan Dilly 2021-03-12 13:37:05 +01:00
parent 18c31dc6e0
commit e08f357f57

View file

@ -21,7 +21,7 @@ use utils::get_head_repo;
pub(crate) fn get_branch_name(repo_path: &str) -> Result<String> {
let repo = utils::repo(repo_path)?;
Ok(get_branch_name_repo(&repo)?)
get_branch_name_repo(&repo)
}
/// ditto