File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,10 +146,10 @@ impl Coins {
146
146
/// # Examples
147
147
///
148
148
/// ```rust
149
- /// use cosmwasm_std::{Coin, Coins, coin};
149
+ /// use cosmwasm_std::{Coin, Coins, coin, Uint256 };
150
150
///
151
151
/// let coins: Coins = [coin(100, "uatom")].try_into().unwrap();
152
- /// assert_eq!(coins.contains_only("uatom").unwrap().u128(), 100);
152
+ /// assert_eq!(coins.contains_only("uatom").unwrap(), Uint256::new( 100) );
153
153
/// assert_eq!(coins.contains_only("uluna"), None);
154
154
/// ```
155
155
///
@@ -214,7 +214,7 @@ impl Coins {
214
214
/// # Examples
215
215
///
216
216
/// ```
217
- /// # use cosmwasm_std::{coin, Coin, Coins, Uint128 };
217
+ /// # use cosmwasm_std::{coin, Coin, Coins, Uint256 };
218
218
/// let mut coins = Coins::default();
219
219
/// coins.add(coin(500, "uluna")).unwrap();
220
220
/// coins.add(coin(1000, "uatom")).unwrap();
You can’t perform that action at this time.
0 commit comments