Skip to content

Commit

Permalink
Fix spelling: generaor -> generator
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Jan 29, 2025
1 parent b9a149f commit 3bd3f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/crypto/src/bls12_381/points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::{errors::InvalidPoint, CryptoError};
pub struct G1(pub(crate) G1Affine);

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

impl G2 {
/// Creates the generaor in G2
/// Creates the generator in G2
#[inline]
pub fn generator() -> Self {
Self(G2Affine::generator())
Expand Down

0 comments on commit 3bd3f6f

Please sign in to comment.