From bc36dbf3b8937091c9abd0765874be05dec54606 Mon Sep 17 00:00:00 2001 From: t11s <greenfeatherhelp@gmail.com> Date: Sun, 18 Jul 2021 10:11:18 -0700 Subject: [PATCH] Fix extra space --- docs/types/reference-types.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/types/reference-types.rst b/docs/types/reference-types.rst index be50daf19..bf5e736b1 100644 --- a/docs/types/reference-types.rst +++ b/docs/types/reference-types.rst @@ -29,10 +29,10 @@ annotation, the "data location", about where it is stored. There are three data non-persistent area where function arguments are stored, and behaves mostly like memory. .. note:: - If you can, try to use ``calldata`` as data location because it will avoid copies and + If you can, try to use ``calldata`` as a data location because it will avoid copies and also makes sure that the data cannot be modified. Calldata is typically preferred over memory in external functions (though not required after version 0.6.9). Arrays and - structs with ``calldata`` data location can also be returned from functions, but it + structs with ``calldata`` data location can also be returned from functions, but it is not possible to allocate such types. .. note::