Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dario23 committed May 20, 2022
1 parent 71d2bb1 commit 5a67239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ pub enum ChangeCategory {

pub use self::ChangeCategory::*;

impl<'a> Default for ChangeCategory {
impl Default for ChangeCategory {
fn default() -> Self {
Patch
}
}

impl<'a> fmt::Display for ChangeCategory {
impl fmt::Display for ChangeCategory {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let desc = match *self {
Patch => "patch",
Expand Down

0 comments on commit 5a67239

Please sign in to comment.