Skip to content

Commit 6ca83c7

Browse files
authored
fix: typos in documentation files (#1997)
* Update check_runtime_changes.sh * Update lib.rs * Update tranches.rs
1 parent df1219b commit 6ca83c7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ci/check_runtime_changes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUNTIME_FILE_CHANGED=$(echo "${CHANGED_FILES}" | grep -e ^runtime/ | wc -l)
4848

4949
echo "There are ${RUNTIME_FILE_CHANGED} file(s) changed in runtime "
5050

51-
# If there are no changes in the runtime file, exit sucessfully
51+
# If there are no changes in the runtime file, exit successfully
5252
if (( $RUNTIME_FILE_CHANGED == 0 ))
5353
then
5454
echo -e "| ${OK} Nothing is changed in runtime"

pallets/liquidity-pools/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ pub mod pallet {
301301
/// The metadata of the given asset does not declare it as transferable
302302
/// via LiquidityPools'.
303303
AssetNotLiquidityPoolsTransferable,
304-
/// The asset is not a a wrapped token and thus cannot be
304+
/// The asset is not a wrapped token and thus cannot be
305305
/// transferred via liquidity pools.
306306
AssetNotLiquidityPoolsWrappedToken,
307307
/// A pool could not be found.

pallets/pool-system/src/tranches.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2064,7 +2064,7 @@ pub mod test {
20642064
fn replace_tranche_less_interest_than_next_works() {
20652065
let mut tranches = default_tranches();
20662066

2067-
// ensure we have an interest rate lower than the the left side tranche with a
2067+
// ensure we have an interest rate lower than the left side tranche with a
20682068
// lower index, e.g. lower than 10% at index 1
20692069
let int_per_sec = Rate::one() / Rate::saturating_from_integer(SECS_PER_YEAR);
20702070
let min_risk_buffer = Perquintill::from_rational(4u64, 5);

0 commit comments

Comments
 (0)