Skip to content

Commit 92acea7

Browse files
committed
Merge #827: chore: fix minor typos in code comments
da68939 Update scalar.rs (MozirDmitriy) 2de4337 Update lib.rs (MozirDmitriy) Pull request description: from neglibile to negligible from represenation to representation ACKs for top commit: apoelstra: ACK da68939; successfully ran local tests; thanks! Tree-SHA512: 534074efea9ab5450ee757b0911a0ff4b9fa4137281693b58a9be3738d7d7dda16396e03c2208fd4f474581f965ec7ccacf109f342c79d3a9b4909bbedb78080
2 parents e310618 + da68939 commit 92acea7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pub use crate::scalar::Scalar;
197197

198198
/// Trait describing something that promises to be a 32-byte uniformly random number.
199199
///
200-
/// In particular, anything implementing this trait must have neglibile probability
200+
/// In particular, anything implementing this trait must have negligible probability
201201
/// of being zero, overflowing the group order, or equalling any specific value.
202202
///
203203
/// Since version 0.29 this has been deprecated; users should instead implement

src/scalar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use crate::constants;
1919
///
2020
/// **Warning: the operations on this type are NOT constant time!**
2121
/// Using this with secret values is not advised.
22-
// Internal represenation is big endian to match what `libsecp256k1` uses.
22+
// Internal representation is big endian to match what `libsecp256k1` uses.
2323
// Also easier to implement comparison.
2424
// Debug impl omitted for now, the bytes may be secret
2525
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]

0 commit comments

Comments
 (0)