Commit 9cf68279 by Leo Arias Committed by Nicolás Venturo

Fix typo: to be find (#1642)

parent 40d15146
...@@ -15,7 +15,7 @@ library Arrays { ...@@ -15,7 +15,7 @@ library Arrays {
* bigger than any array element function then returns first index after last element (i.e. all * 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). * values inside the array are smaller than the target). Complexity O(log n).
* @param array The array sorted in ascending order. * @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. * @return The calculated index value. Returns 0 for empty array.
*/ */
function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
......
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