Skip to content

Commit

Permalink
Fix clippy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
landhb committed Jan 14, 2024
1 parent 014357e commit 41aea02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct Key(KeySerialId);

impl fmt::Display for Key {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let info = self.metadata().map_err(|_| fmt::Error::default())?;
let info = self.metadata().map_err(|_| fmt::Error)?;
write!(f, "Key({:?})", info)
}
}
Expand Down

0 comments on commit 41aea02

Please sign in to comment.