Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
chore: fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Dec 28, 2020
1 parent 44fdf8b commit 2953d9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ impl<'a, T> Debug for ErrorDebug<'a, T> {

/// Main error type for the crate.
#[derive(Error, Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
#[non_exhaustive]
#[allow(clippy::large_enum_variant)]
pub enum Error {
/// Access denied for supplied PublicKey
#[error("Access denied for PublicKey: {0}")]
Expand Down
1 change: 1 addition & 0 deletions src/messaging/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ pub enum MiscAuthKind {
/// Error type for an attempted conversion from `QueryResponse` to a type implementing
/// `TryFrom<Response>`.
#[derive(Debug, PartialEq)]
#[allow(clippy::large_enum_variant)]
pub enum TryFromError {
/// Wrong variant found in `QueryResponse`.
WrongType,
Expand Down

0 comments on commit 2953d9d

Please sign in to comment.