Fixes typo in SafeMath subtraction docs (#806)

This commit is contained in:
Phillip Birtcher
2018-03-12 12:27:17 -05:00
committed by Matt Condon
parent d1146e8c8b
commit 7586e383c2

View File

@ -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);