Skip to content

Commit

Permalink
chore: typos in documentation files (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilavvy authored Feb 19, 2025
1 parent 0e54388 commit 5cae4e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/gpu/locks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ macro_rules! locked_kernel {
}
}

/// Intialize a kernel.
/// Initialize a kernel.
///
/// On OpenCL that also means that the kernel source is compiled.
fn init(&mut self) {
Expand Down
2 changes: 1 addition & 1 deletion src/gpu/multiexp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub fn get_cpu_utilization() -> f64 {
.clamp(0f64, 1f64)
}

/// Set the correct enviornment variables for a custom GPU.
/// Set the correct environment variables for a custom GPU.
///
/// Determining the number of cores was moved to rust-gpu-tools, which uses the
/// `RUST_GPU_TOOLS_CUSTOM_GPU` environment variable to set custom GPUs. Users should upgrade
Expand Down
2 changes: 1 addition & 1 deletion src/groth16/aggregate/prove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ where
})
}

/// gipa_tipp_mipp peforms the recursion of the GIPA protocol for TIPP and MIPP.
/// gipa_tipp_mipp performs the recursion of the GIPA protocol for TIPP and MIPP.
/// It returns a proof containing all intermdiate committed values, as well as
/// the challenges generated necessary to do the polynomial commitment proof
/// later in TIPP.
Expand Down
2 changes: 1 addition & 1 deletion tests/minroot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ fn minroot_aggregate_proof_inner(version: AggregateVersion) {
generate_random_parameters(c, &mut rng).unwrap()
};

// verification key for indivdual verification of proof
// verification key for individual verification of proof
let pvk = prepare_verifying_key(&params.vk);

#[cfg(feature = "cuda-supraseal")]
Expand Down

0 comments on commit 5cae4e4

Please sign in to comment.