From 7586e383c2e9d62b2f1d414e850ab365afef6d89 Mon Sep 17 00:00:00 2001 From: Phillip Birtcher Date: Mon, 12 Mar 2018 12:27:17 -0500 Subject: [PATCH] Fixes typo in SafeMath subtraction docs (#806) --- contracts/math/SafeMath.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/math/SafeMath.sol b/contracts/math/SafeMath.sol index 027379b3a..788797ea1 100644 --- a/contracts/math/SafeMath.sol +++ b/contracts/math/SafeMath.sol @@ -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);