Skip to content

Commit

Permalink
Remove extra 0 in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Nov 12, 2021
1 parent c4a951c commit 5e5a918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/erc20/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ mod erc20 {

/// Returns the amount which `spender` is still allowed to withdraw from `owner`.
///
/// Returns `0` if no allowance has been set `0`.
/// Returns `0` if no allowance has been set.
#[ink(message)]
pub fn allowance(&self, owner: AccountId, spender: AccountId) -> Balance {
self.allowance_impl(&owner, &spender)
}

/// Returns the amount which `spender` is still allowed to withdraw from `owner`.
///
/// Returns `0` if no allowance has been set `0`.
/// Returns `0` if no allowance has been set.
///
/// # Note
///
Expand Down

0 comments on commit 5e5a918

Please sign in to comment.