Skip to content

Commit

Permalink
rename dangling mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
sinui0 committed Jan 17, 2024
1 parent d95ea00 commit 17db7e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ot/mpz-ot/src/ideal/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Mock implementations of the OT protocols.
//! Ideal implementations of the OT protocols.
mod owned;
mod shared;
Expand Down
4 changes: 2 additions & 2 deletions ot/mpz-ot/src/ideal/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub fn ideal_ot_shared_pair() -> (IdealSharedOTSender, IdealSharedOTReceiver) {
(sender, receiver)
}

/// A mock oblivious transfer sender.
/// A ideal oblivious transfer sender.
#[derive(Clone, Debug)]
#[allow(clippy::type_complexity)]
pub struct IdealSharedOTSender {
Expand Down Expand Up @@ -66,7 +66,7 @@ impl<T: Clone + std::fmt::Debug + Send + Sync + 'static> CommittedOTSenderShared
}
}

/// A mock oblivious transfer receiver.
/// A ideal oblivious transfer receiver.
#[derive(Clone, Debug)]
#[allow(clippy::type_complexity)]
pub struct IdealSharedOTReceiver {
Expand Down

0 comments on commit 17db7e1

Please sign in to comment.