Skip to content

Commit

Permalink
chore: fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 15, 2024
1 parent ae00d7b commit cd9e3df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions commit_verify/src/convolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ where
/// commitment to a *message* and a *proof*:
/// - `self + supplement -> internal_repr`;
/// - `internal_repr + msg -> (commitment, proof)`.
///
/// Later on, a verifier presented with a message and the proof may do the
/// commitment verification in the following way:
/// `msg, proof, commitment -> bool`.
/// commitment verification in the following way: `msg, proof, commitment ->
/// bool`.
///
/// To use *convolve-commit-verify scheme* one needs to implement this trait for
/// a data structure acting as a container for a specific commitment under
Expand Down
2 changes: 1 addition & 1 deletion single_use_seals/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
//! A single-use-seal implementation supports two fundamental operations:
//! * `Close(l,m) → w` — Close seal l over message m, producing a witness `w`.
//! * `Verify(l,w,m) → bool` — Verify that the seal l was closed over message
//! `m`.
//! `m`.
//!
//! A single-use-seal implementation is secure if it is impossible for an
//! attacker to cause the Verify function to return true for two distinct
Expand Down
4 changes: 2 additions & 2 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ where Self::ValidationItem: 'client_data
/// - validates internal data consistency with
/// [`ClientData::validate_internal_consistency`] method,
/// - validates single-use-seal for the item using the provided `resolver`
/// object,
/// adding reported issues to the [`Status`] log returned by the function.
/// object, adding reported issues to the [`Status`] log returned by the
/// function.
///
/// The function should not fail on any validation failures and run the
/// whole validation process up to the end, accumulating all failures and
Expand Down

0 comments on commit cd9e3df

Please sign in to comment.