From f88731052450791f6604b5f5c294a788e289e1ae Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 31 Oct 2019 22:21:26 +0100 Subject: [PATCH] Apply clippy suggestion --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 5c01f79e..9306b58b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -141,7 +141,7 @@ pub enum Algorithm { impl Display for Algorithm { fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult { let name = match *self { - Algorithm::Ed25519 => "ed25519", + Self::Ed25519 => "ed25519", }; write!(f, "{}", name)