Skip to content

Commit 81aaffa

Browse files
authored
Update Arrays.sol
1 parent 19cd6e6 commit 81aaffa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/utils/Arrays.sol

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ library Arrays {
5757
function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {
5858
bytes32 slot;
5959
// We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
60-
// following https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html#mappings-and-dynamic-arrays.
60+
// following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.
6161

6262
/// @solidity memory-safe-assembly
6363
assembly {
@@ -75,7 +75,7 @@ library Arrays {
7575
function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {
7676
bytes32 slot;
7777
// We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
78-
// following https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html#mappings-and-dynamic-arrays.
78+
// following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.
7979

8080
/// @solidity memory-safe-assembly
8181
assembly {
@@ -93,7 +93,7 @@ library Arrays {
9393
function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {
9494
bytes32 slot;
9595
// We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
96-
// following https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html#mappings-and-dynamic-arrays.
96+
// following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.
9797

9898
/// @solidity memory-safe-assembly
9999
assembly {

0 commit comments

Comments
 (0)