Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ecmult.rs
Browse files Browse the repository at this point in the history
donatik27 authored Nov 29, 2024
1 parent 48dabd8 commit 25d4952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/ecmult.rs
Original file line number Diff line number Diff line change
@@ -187,7 +187,7 @@ impl ECMultGenContext {

/// Generate a new `ECMultGenContext` on the heap. Note that this function is expensive.
pub fn new_boxed() -> Box<Self> {
// This unsafe block allocates a new, unitialized `ECMultGenContext` and
// This unsafe block allocates a new, uninitialized `ECMultGenContext` and
// then fills in the value. This is to avoid allocating it on stack
// because the struct is big. All values in `ECMultGenContext` are
// manually initialized after allocation.

0 comments on commit 25d4952

Please sign in to comment.