diff --git a/docs/pages/store/reading-and-writing.mdx b/docs/pages/store/reading-and-writing.mdx index 3d22b5513f..229a678f4b 100644 --- a/docs/pages/store/reading-and-writing.mdx +++ b/docs/pages/store/reading-and-writing.mdx @@ -36,7 +36,7 @@ tables: { ```solidity // Setting a record uint256[] memory fooArray = new uint256[](1); -uint256[] memory barArray = new uint256[](2); +uint256[2] memory barArray; barArray[0] = 69; barArray[1] = 85; fooArray[0] = 42;