@@ -30,7 +30,7 @@ import "./EnumerableSet.sol";
3030 *
3131 * - `uint256 -> address` (`UintToAddressMap`) since v3.0.0
3232 * - `address -> uint256` (`AddressToUintMap`) since v4.6.0
33- * - `bytes32 -> bytes32` (`Bytes32ToBytes32 `) since v4.6.0
33+ * - `bytes32 -> bytes32` (`Bytes32ToBytes32Map `) since v4.6.0
3434 * - `uint256 -> uint256` (`UintToUintMap`) since v4.7.0
3535 * - `bytes32 -> uint256` (`Bytes32ToUintMap`) since v4.7.0
3636 *
@@ -116,7 +116,7 @@ library EnumerableMap {
116116 }
117117
118118 /**
119- * @dev Tries to returns the value associated with `key`. O(1).
119+ * @dev Tries to returns the value associated with `key`. O(1).
120120 * Does not revert if `key` is not in the map.
121121 */
122122 function tryGet (Bytes32ToBytes32Map storage map , bytes32 key ) internal view returns (bool , bytes32 ) {
@@ -129,7 +129,7 @@ library EnumerableMap {
129129 }
130130
131131 /**
132- * @dev Returns the value associated with `key`. O(1).
132+ * @dev Returns the value associated with `key`. O(1).
133133 *
134134 * Requirements:
135135 *
@@ -216,7 +216,7 @@ library EnumerableMap {
216216 }
217217
218218 /**
219- * @dev Tries to returns the value associated with `key`. O(1).
219+ * @dev Tries to returns the value associated with `key`. O(1).
220220 * Does not revert if `key` is not in the map.
221221 */
222222 function tryGet (UintToUintMap storage map , uint256 key ) internal view returns (bool , uint256 ) {
@@ -225,7 +225,7 @@ library EnumerableMap {
225225 }
226226
227227 /**
228- * @dev Returns the value associated with `key`. O(1).
228+ * @dev Returns the value associated with `key`. O(1).
229229 *
230230 * Requirements:
231231 *
@@ -308,18 +308,16 @@ library EnumerableMap {
308308 }
309309
310310 /**
311- * @dev Tries to returns the value associated with `key`. O(1).
311+ * @dev Tries to returns the value associated with `key`. O(1).
312312 * Does not revert if `key` is not in the map.
313- *
314- * _Available since v3.4._
315313 */
316314 function tryGet (UintToAddressMap storage map , uint256 key ) internal view returns (bool , address ) {
317315 (bool success , bytes32 value ) = tryGet (map._inner, bytes32 (key));
318316 return (success, address (uint160 (uint256 (value))));
319317 }
320318
321319 /**
322- * @dev Returns the value associated with `key`. O(1).
320+ * @dev Returns the value associated with `key`. O(1).
323321 *
324322 * Requirements:
325323 *
@@ -402,7 +400,7 @@ library EnumerableMap {
402400 }
403401
404402 /**
405- * @dev Tries to returns the value associated with `key`. O(1).
403+ * @dev Tries to returns the value associated with `key`. O(1).
406404 * Does not revert if `key` is not in the map.
407405 */
408406 function tryGet (AddressToUintMap storage map , address key ) internal view returns (bool , uint256 ) {
@@ -411,7 +409,7 @@ library EnumerableMap {
411409 }
412410
413411 /**
414- * @dev Returns the value associated with `key`. O(1).
412+ * @dev Returns the value associated with `key`. O(1).
415413 *
416414 * Requirements:
417415 *
@@ -494,7 +492,7 @@ library EnumerableMap {
494492 }
495493
496494 /**
497- * @dev Tries to returns the value associated with `key`. O(1).
495+ * @dev Tries to returns the value associated with `key`. O(1).
498496 * Does not revert if `key` is not in the map.
499497 */
500498 function tryGet (Bytes32ToUintMap storage map , bytes32 key ) internal view returns (bool , uint256 ) {
@@ -503,7 +501,7 @@ library EnumerableMap {
503501 }
504502
505503 /**
506- * @dev Returns the value associated with `key`. O(1).
504+ * @dev Returns the value associated with `key`. O(1).
507505 *
508506 * Requirements:
509507 *
0 commit comments