Apply clippy suggestion
This commit is contained in:
parent
1cd00e05e9
commit
f887310524
@ -141,7 +141,7 @@ pub enum Algorithm {
|
|||||||
impl Display for Algorithm {
|
impl Display for Algorithm {
|
||||||
fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult {
|
fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult {
|
||||||
let name = match *self {
|
let name = match *self {
|
||||||
Algorithm::Ed25519 => "ed25519",
|
Self::Ed25519 => "ed25519",
|
||||||
};
|
};
|
||||||
|
|
||||||
write!(f, "{}", name)
|
write!(f, "{}", name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user