@@ -35,10 +35,10 @@ pub type DepositOf<T> = Deposit<BalanceOf<T>>;
3535/// A production root storage meter that actually charges from its origin.
3636pub type Meter < T > = RawMeter < T , ReservingExt , Root > ;
3737
38- /// A poduction nested storage meter that actually charges from its origin.
38+ /// A production nested storage meter that actually charges from its origin.
3939pub type NestedMeter < T > = RawMeter < T , ReservingExt , Nested > ;
4040
41- /// A poduction storage meter that actually charges from its origin.
41+ /// A production storage meter that actually charges from its origin.
4242///
4343/// This can be used where we want to be generic over the state (Root vs. Nested).
4444pub type GenericMeter < T , S > = RawMeter < T , ReservingExt , S > ;
@@ -53,8 +53,8 @@ pub trait Ext<T: Config> {
5353 ///
5454 /// `origin`: The origin of the call stack from which is responsible for putting down a deposit.
5555 /// `limit`: The limit with which the meter was constructed.
56- /// `min_leftover`: How much `free_balance` in addition to the ed should be left inside the
57- /// `origin` account.
56+ /// `min_leftover`: How much `free_balance` in addition to the existential deposit (ed) should
57+ /// be left inside the `origin` account.
5858 ///
5959 /// Returns the limit that should be used by the meter. If origin can't afford the `limit`
6060 /// it returns `Err`.
@@ -551,7 +551,7 @@ mod tests {
551551 let mut meter = TestMeter :: new ( & ALICE , Some ( 1_000 ) , 0 ) . unwrap ( ) ;
552552 assert_eq ! ( meter. available( ) , 1_000 ) ;
553553
554- // an empty charge foes not create a `Charge` entry
554+ // an empty charge does not create a `Charge` entry
555555 let mut nested0 = meter. nested ( ) ;
556556 nested0. charge ( & Default :: default ( ) ) . unwrap ( ) ;
557557 meter. absorb ( nested0, & ALICE , & BOB , None ) ;
0 commit comments