Commit 7586e383 by Phillip Birtcher Committed by Matt Condon

Fixes typo in SafeMath subtraction docs (#806)

parent d1146e8c
...@@ -30,7 +30,7 @@ library SafeMath { ...@@ -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) { function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a); assert(b <= a);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment