Skip to content

Commit c760791

Browse files
committed
docs: fix typos in doc comments flagged in review
1 parent ca9a4ac commit c760791

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

crates/near-mpc-crypto-types/src/sign.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ mod tests {
203203
assert_eq!(args.payload.as_ecdsa().unwrap(), &ecdsa_payload_bytes());
204204
}
205205

206-
/// A a sign request whose `payload` field is
206+
/// A sign request whose `payload` field is
207207
/// a raw 32-byte array (no [`Ecdsa`] / [`Eddsa`] tag) — the legacy on-chain
208208
/// wire format predating EdDSA support — must be deserialized as
209209
/// [`Payload::Ecdsa`]

crates/threshold-signatures/src/protocol/echo_broadcast.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ pub enum MessageType<T> {
1616
Ready(T),
1717
}
1818

19-
/// A homemade sturcture that allows counting the number of
20-
/// votes gathered during the reliable-broadcast protocol
21-
/// only requiring from votes to have trait [`PartialEq`]
19+
/// Counts the votes gathered during the reliable-broadcast protocol,
20+
/// requiring only [`PartialEq`] from the vote type
2221
#[derive(Clone)]
2322
struct CounterList<T> {
2423
list: Vec<(T, usize)>,

0 commit comments

Comments
 (0)