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

Commit fe242e5

Browse files
authored
chore: fix typos (#6518)
1 parent d67706f commit fe242e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libraries/math/src/precise_number.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl PreciseNumber {
3737

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

6363
/// Maximum base allowed when calculating exponents in checked_pow_fraction
6464
/// and checked_pow_approximation. The calculation use a Taylor Series
65-
/// approxmation around 1, which converges for bases between 0 and 2. See
65+
/// approximation around 1, which converges for bases between 0 and 2. See
6666
/// https://en.wikipedia.org/wiki/Binomial_series#Conditions_for_convergence
6767
/// for more information.
6868
fn max_pow_base() -> InnerUint {

libraries/tlv-account-resolution/src/seeds.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub enum Seed {
4444
/// * 1 - Length of literal
4545
/// * N - Literal bytes themselves
4646
Literal {
47-
/// The literal value repesented as a vector of bytes.
47+
/// The literal value represented as a vector of bytes.
4848
///
4949
/// For example, if a literal value is a string literal,
5050
/// such as "my-seed", this value would be

0 commit comments

Comments
 (0)