瀏覽代碼

Fixes typo in SafeMath subtraction docs (#806)

Phillip Birtcher 7 年之前
父節點
當前提交
7586e383c2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contracts/math/SafeMath.sol

+ 1 - 1
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);