Quellcode durchsuchen

Fix typo: to be find (#1642)

Leo Arias vor 6 Jahren
Ursprung
Commit
9cf68279c1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      contracts/utils/Arrays.sol

+ 1 - 1
contracts/utils/Arrays.sol

@@ -15,7 +15,7 @@ library Arrays {
      * bigger than any array element function then returns first index after last element (i.e. all
      * values inside the array are smaller than the target). Complexity O(log n).
      * @param array The array sorted in ascending order.
-     * @param element The element's value to be find.
+     * @param element The element's value to be found.
      * @return The calculated index value. Returns 0 for empty array.
      */
     function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {