Skip to content

Commit

Permalink
Minor change in SafeMath sub documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino authored Jan 15, 2018
1 parent 21297e2 commit 49b42e8
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 if subtrahend is greater than minuend.
* @dev Substracts 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 49b42e8

Please sign in to comment.