Skip to content

Commit

Permalink
Updated expect message
Browse files Browse the repository at this point in the history
  • Loading branch information
bnbeckwith authored and Byron committed Oct 5, 2020
1 parent 92cbb13 commit e8d8d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-object/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl Kind {

impl fmt::Display for Kind {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str(std::str::from_utf8(self.to_bytes()).expect("invalid utf8 in kind name"))
f.write_str(std::str::from_utf8(self.to_bytes()).expect("Converting Kind name to utf8"))
}
}

Expand Down

0 comments on commit e8d8d93

Please sign in to comment.