Skip to content

Commit

Permalink
thanks clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Oct 14, 2021
1 parent e59f901 commit bcc9871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-repository/src/easy/object/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ where
git_odb::data::Object::new(self.kind, &self.data)
.decode()?
.into_tag()
.ok_or_else(|| conversion::Error::UnexpectedType {
.ok_or(conversion::Error::UnexpectedType {
expected: git_object::Kind::Tag,
actual: self.kind,
})
Expand Down

0 comments on commit bcc9871

Please sign in to comment.