Skip to content

Commit

Permalink
Forbid missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maurges committed Jan 26, 2023
1 parent 9e72fbc commit 7bbf4f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 85 deletions.
85 changes: 0 additions & 85 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ pub enum InvalidProof {
EncryptionFailed,
}

/// Unexpeted error that can happen in a protocol. You should probably panic if
/// you see this.
#[derive(Debug, PartialEq, Eq)]
pub enum ProtocolError {
/// Encryption of supplied data failed when computing proof
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[forbid(missing_docs)]
mod common;
pub mod group_element_vs_paillier_encryption_in_range;
pub mod paillier_affine_operation_in_range;
Expand Down

0 comments on commit 7bbf4f2

Please sign in to comment.