Skip to content

Commit

Permalink
Fixes typo in SafeMath subtraction docs (OpenZeppelin#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
philbirt authored and shrugs committed Mar 12, 2018
1 parent d1146e8 commit 7586e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/math/SafeMath.sol
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ library SafeMath {
}

/**
* @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
* @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
Expand Down

0 comments on commit 7586e38

Please sign in to comment.