Skip to content

Commit

Permalink
fix(clippy): update for lower clippy version
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Feb 9, 2023
1 parent 9b4a34c commit 399eafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub enum Algorithm {

impl fmt::Display for Algorithm {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{}", format!("{self:?}").to_lowercase())
write!(f, "{}", format!("{:?}", self).to_lowercase())
}
}

Expand Down

0 comments on commit 399eafd

Please sign in to comment.