Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

chore: fix typos #6518

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libraries/math/src/precise_number.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl PreciseNumber {

/// Desired precision for the correction factor applied during each
/// iteration of checked_pow_approximation. Once the correction factor is
/// smaller than this number, or we reach the maxmium number of iterations,
/// smaller than this number, or we reach the maximum number of iterations,
/// the calculation ends.
fn precision() -> InnerUint {
InnerUint::from(100)
Expand All @@ -62,7 +62,7 @@ impl PreciseNumber {

/// Maximum base allowed when calculating exponents in checked_pow_fraction
/// and checked_pow_approximation. The calculation use a Taylor Series
/// approxmation around 1, which converges for bases between 0 and 2. See
/// approximation around 1, which converges for bases between 0 and 2. See
/// https://en.wikipedia.org/wiki/Binomial_series#Conditions_for_convergence
/// for more information.
fn max_pow_base() -> InnerUint {
Expand Down
2 changes: 1 addition & 1 deletion libraries/tlv-account-resolution/src/seeds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub enum Seed {
/// * 1 - Length of literal
/// * N - Literal bytes themselves
Literal {
/// The literal value repesented as a vector of bytes.
/// The literal value represented as a vector of bytes.
///
/// For example, if a literal value is a string literal,
/// such as "my-seed", this value would be
Expand Down