From c627737dfa6a30b71e3f7c32cca05675cc7e9b97 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 17 Apr 2021 21:06:47 -0400 Subject: clippy --- src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index 28f8504..7544e76 100644 --- a/src/error.rs +++ b/src/error.rs @@ -62,7 +62,7 @@ pub enum Error { InvalidTwoFactorProvider { ty: String }, #[error("failed to parse JSON")] - JSON { + Json { source: serde_path_to_error::Error, }, @@ -103,7 +103,7 @@ pub enum Error { }, #[error("openssl error")] - OpenSSL { source: openssl::error::ErrorStack }, + OpenSsl { source: openssl::error::ErrorStack }, #[error("failed to parse match type {s}")] ParseMatchType { s: String }, -- cgit v1.2.3-54-g00ecf