Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangxiecrypto committed Jun 28, 2024
1 parent 40aa96a commit ef72b9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/mpz-ot/src/ferret/mpcot/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::OTError;

/// A MPCOT sender error.
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
#[allow(missing_docs, clippy::enum_variant_names)]
pub enum SenderError {
#[error(transparent)]
IOError(#[from] std::io::Error),
Expand Down Expand Up @@ -31,7 +31,7 @@ impl From<crate::ferret::mpcot::sender::StateError> for SenderError {

/// A MPCOT receiver error
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
#[allow(missing_docs, clippy::enum_variant_names)]
pub enum ReceiverError {
#[error(transparent)]
IOError(#[from] std::io::Error),
Expand Down
4 changes: 2 additions & 2 deletions crates/mpz-ot/src/ferret/spcot/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::OTError;

/// A SPCOT sender error.
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
#[allow(missing_docs, clippy::enum_variant_names)]
pub enum SenderError {
#[error(transparent)]
IOError(#[from] std::io::Error),
Expand Down Expand Up @@ -31,7 +31,7 @@ impl From<crate::ferret::spcot::sender::StateError> for SenderError {

/// A SPCOT receiver error.
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
#[allow(missing_docs, clippy::enum_variant_names)]
pub enum ReceiverError {
#[error(transparent)]
IOError(#[from] std::io::Error),
Expand Down

0 comments on commit ef72b9b

Please sign in to comment.