Skip to content

Commit b7fab3a

Browse files
committed
Merge #232: fix typos in gf32_ext.rs comments
901c7eb Update gf32_ext.rs (viktorking7) Pull request description: ```markdown This PR corrects spelling errors in two comments within `src/primitives/gf32_ext.rs`: - Fixed "muliplication" → "multiplication" in comment about naive n² multiplication - Fixed "mulitplications" → "multiplications" in `impl Field for Fe32768` comment ``` ACKs for top commit: apoelstra: ACK 901c7eb; successfully ran local tests Tree-SHA512: 1ee5133166da227b8fd914b27d6ff5dcb59a75f8d8041b1171c7387e0ce7a14775afae8e2406b63c9ec3684804a83295a62654df464939b31eef0139d2aaa9eb
2 parents 88e9d0a + 901c7eb commit b7fab3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/primitives/gf32_ext.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ where
108108
}
109109
}
110110

111-
// We just use naive n^2 muliplication because this is easy to write in
111+
// We just use naive n^2 multiplication because this is easy to write in
112112
// generic code, and because our GF32 implementation makes multiplication
113113
// (almost) as cheap as addition.
114114
//
@@ -269,7 +269,7 @@ impl Field for Fe32768 {
269269
// Unlike in the GF1024 case we don't bother being generic over
270270
// arbitrary values of POLYNOMIAL, since doing so means a ton
271271
// of extra work for everybody (me, the reviewer, and the CPU
272-
// that has to do a bunch of mulitplications by values that
272+
// that has to do a bunch of multiplications by values that
273273
// turn out to always be 0).
274274
debug_assert_eq!(Self::POLYNOMIAL, Self::new([Fe32::P, Fe32::P, Fe32::Q]));
275275
// Aliases to make the below equations easier to read

0 commit comments

Comments
 (0)