drive by spelling fixes (#12175)

This commit is contained in:
Squirrel
2022-09-05 15:04:14 +01:00
committed by GitHub
parent 84acfd5f50
commit 2b80555902
4 changed files with 4 additions and 4 deletions
@@ -71,7 +71,7 @@ pub trait PalletsInfoAccess {
///
/// You probably don't want this function but `infos()` instead.
fn count() -> usize {
// for backwards compatibility with XCM-3, Mark is deprecated.
// for backwards compatibility with XCM-3, Mark as deprecated.
Self::infos().len()
}
@@ -24,7 +24,7 @@ pub trait Inspect<AccountId>: super::Inspect<AccountId> {
}
pub trait Mutate<AccountId>: Inspect<AccountId> {
// Aprove a delegate account to spend an amount of tokens owned by an owner
// Approve a delegate account to spend an amount of tokens owned by an owner
fn approve(
asset: Self::AssetId,
owner: &AccountId,
@@ -163,7 +163,7 @@ pub trait Balanced<AccountId>: Inspect<AccountId> {
/// **WARNING**
/// Do not use this directly unless you want trouble, since it allows you to alter account balances
/// without keeping the issuance up to date. It has no safeguards against accidentally creating
/// token imbalances in your system leading to accidental imflation or deflation. It's really just
/// token imbalances in your system leading to accidental inflation or deflation. It's really just
/// for the underlying datatype to implement so the user gets the much safer `Balanced` trait to
/// use.
pub trait Unbalanced<AccountId>: Inspect<AccountId> {