Skip to content

Commit

Permalink
thanks clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Apr 5, 2022
1 parent c8c13e3 commit 60cb858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-repository/src/commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ pub mod describe {
///
/// Note that there will always be `Some(format)`
pub fn try_format(self) -> Result<Option<git_revision::describe::Format<'static>>, Error> {
Ok(self.try_resolve()?.map(|r| r.format()).transpose()?)
self.try_resolve()?.map(|r| r.format()).transpose()
}

/// Try to find a name for the configured commit id using all prior configuration, returning `Some(Outcome)`
Expand Down

0 comments on commit 60cb858

Please sign in to comment.