Skip to content

Commit 6cabf03

Browse files
committed
Lints.
1 parent b470b6f commit 6cabf03

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/shamir.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ fn validate_parameters(threshold: usize, share_count: usize, secret_length: usiz
3737
///
3838
/// * `threshold` - The minimum number of shares required to reconstruct the
3939
/// secret. Must be greater than or equal to 1 and less than or equal to
40-
/// `share_count`.
40+
/// `share_count`.
4141
/// * `share_count` - The total number of shares to generate. Must be at least
42-
/// `threshold` and less than or equal to `MAX_SHARE_COUNT`.
42+
/// `threshold` and less than or equal to `MAX_SHARE_COUNT`.
4343
/// * `secret` - A byte slice containing the secret to be split. Must be at
44-
/// least `MIN_SECRET_LEN` bytes long and at most `MAX_SECRET_LEN` bytes
45-
/// long. The length must be an even number.
44+
/// least `MIN_SECRET_LEN` bytes long and at most `MAX_SECRET_LEN` bytes
45+
/// long. The length must be an even number.
4646
/// * `random_generator` - An implementation of the `RandomNumberGenerator`
4747
/// trait, used to generate random data.
4848
///
@@ -133,7 +133,7 @@ pub fn split_secret(
133133
/// * `indexes` - A slice of indexes of the shares to be used for recovering the
134134
/// secret. These are the indexes of the shares returned by `split_secret`.
135135
/// * `shares` - A slice of shares of the secret matching the indexes in
136-
/// `indexes`. These are the shares returned by `split_secret`.
136+
/// `indexes`. These are the shares returned by `split_secret`.
137137
///
138138
/// # Returns
139139
///

0 commit comments

Comments
 (0)