Skip to content

Commit 8b05066

Browse files
webmaster128mergify[bot]
authored andcommitted
Fix spelling: generaor -> generator
(cherry picked from commit 3bd3f6f)
1 parent 2c678fa commit 8b05066

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/crypto/src/bls12_381/points.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use crate::{errors::InvalidPoint, CryptoError};
1717
pub struct G1(pub(crate) G1Affine);
1818

1919
impl G1 {
20-
/// Creates the generaor in G1
20+
/// Creates the generator in G1
2121
#[inline]
2222
pub fn generator() -> Self {
2323
Self(G1Affine::generator())
@@ -73,7 +73,7 @@ impl<'a> core::iter::Sum<&'a G1> for G1 {
7373
pub struct G2(pub(crate) G2Affine);
7474

7575
impl G2 {
76-
/// Creates the generaor in G2
76+
/// Creates the generator in G2
7777
#[inline]
7878
pub fn generator() -> Self {
7979
Self(G2Affine::generator())

0 commit comments

Comments
 (0)