Fixes typo in SafeMath subtraction docs (#806)
This commit is contained in:
committed by
Matt Condon
parent
d1146e8c8b
commit
7586e383c2
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user