From 77db3d968a368cd29ed0e2b997371b64c108157c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=A7=E5=88=9A?= Date: Tue, 12 Apr 2022 22:10:30 +0800 Subject: [PATCH] typo --- types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.rst b/types.rst index a6766a5..6d8a20b 100644 --- a/types.rst +++ b/types.rst @@ -658,8 +658,8 @@ Solidity 中是没有八进制的,因此前置 0 是无效的。 // 注意下面的代码并不是一对动态数组, // 而是一个数组元素为一对变量的动态数组(也就是数组元素为长度为 2 的定长数组的动态数组)。 bool[2][] m_pairsOfFlags; - // newPairs 存储在 memory 中 —— 函数参数默认的存储位置 + // newPairs 存储在 memory 中 —— 函数参数默认的存储位置 function setAllFlagPairs(bool[2][] newPairs) public { // 向一个 storage 的数组赋值会替代整个数组 m_pairsOfFlags = newPairs;