File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,10 +146,10 @@ impl Coins {
146146 /// # Examples
147147 ///
148148 /// ```rust
149- /// use cosmwasm_std::{Coin, Coins, coin};
149+ /// use cosmwasm_std::{Coin, Coins, coin, Uint256 };
150150 ///
151151 /// 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) );
153153 /// assert_eq!(coins.contains_only("uluna"), None);
154154 /// ```
155155 ///
@@ -214,7 +214,7 @@ impl Coins {
214214 /// # Examples
215215 ///
216216 /// ```
217- /// # use cosmwasm_std::{coin, Coin, Coins, Uint128 };
217+ /// # use cosmwasm_std::{coin, Coin, Coins, Uint256 };
218218 /// let mut coins = Coins::default();
219219 /// coins.add(coin(500, "uluna")).unwrap();
220220 /// coins.add(coin(1000, "uatom")).unwrap();
You can’t perform that action at this time.
0 commit comments