Skip to content

Commit

Permalink
grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
qalisander committed Nov 7, 2024
1 parent 893a5b6 commit 9a26dbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/src/token/erc20/utils/safe_erc20.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! throw on failure) are also supported, non-reverting calls are assumed to be
//! successful.
//!
//! To use this library you can add a `#[inherit(SafeErc20)]` attribute to
//! To use this library, you can add a `#[inherit(SafeErc20)]` attribute to
//! your contract, which allows you to call the safe operations as
//! `contract.safe_transfer(token_addr, ...)`, etc.
Expand Down Expand Up @@ -299,7 +299,7 @@ impl ISafeErc20 for SafeErc20 {
return Ok(());
}

// If that fails, reset allowance to zero, then retry the desired
// If that fails, reset the allowance to zero, then retry the desired
// approval
let reset_approval_call =
IErc20::approveCall { spender, value: U256::ZERO };
Expand Down

0 comments on commit 9a26dbf

Please sign in to comment.