diff --git a/pallets/liquidity-pools/src/lib.rs b/pallets/liquidity-pools/src/lib.rs index e30b98612c..46aa06b88e 100644 --- a/pallets/liquidity-pools/src/lib.rs +++ b/pallets/liquidity-pools/src/lib.rs @@ -1054,7 +1054,7 @@ pub mod pallet { Ok(general_index.index) } - /// Returns the local currency identifier from from its general index. + /// Returns the local currency identifier from its general index. /// /// Requires the currency to be registered in the `AssetRegistry`. /// diff --git a/pallets/pool-fees/src/lib.rs b/pallets/pool-fees/src/lib.rs index 4cf182a03f..da25e9fce3 100644 --- a/pallets/pool-fees/src/lib.rs +++ b/pallets/pool-fees/src/lib.rs @@ -553,7 +553,7 @@ pub mod pallet { }) } - /// Return the the last fee id and bump it for the next query + /// Return the last fee id and bump it for the next query pub(crate) fn generate_fee_id() -> Result { LastFeeId::::try_mutate(|last_fee_id| { last_fee_id.ensure_add_assign(One::one())?; diff --git a/pallets/pool-system/src/tranches.rs b/pallets/pool-system/src/tranches.rs index b7d80f178d..9a3da745b2 100644 --- a/pallets/pool-system/src/tranches.rs +++ b/pallets/pool-system/src/tranches.rs @@ -2144,7 +2144,7 @@ pub mod test { let mut tranches = default_tranches(); let min_risk_buffer = Perquintill::from_rational(4u64, 5); - // ensure we have an interest rate larger than the the right-side tranche with a + // ensure we have an interest rate larger than the right-side tranche with a // greater index, e.g. larger than 5% at index 2 let int_per_sec = Rate::saturating_from_rational(6u64, 100) / Rate::saturating_from_integer(SECS_PER_YEAR) diff --git a/runtime/integration-tests/src/cases/block_rewards.rs b/runtime/integration-tests/src/cases/block_rewards.rs index adbcdd4c80..941b566d14 100644 --- a/runtime/integration-tests/src/cases/block_rewards.rs +++ b/runtime/integration-tests/src/cases/block_rewards.rs @@ -136,7 +136,7 @@ fn apply_and_check_session( // The event exists in this list: dbg!(frame_system::Pallet::::events()) - // But not in in this list (that is the implementation of find_event()), + // But not in this list (that is the implementation of find_event()), // so try_into returns an Err for it. dbg!(frame_system::Pallet::::events() .into_iter()