Fix signature of pop member

This commit is contained in:
William Entriken 2022-02-05 23:59:09 -05:00 committed by GitHub
parent 32d64ce666
commit 6bd38aa4ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -337,9 +337,9 @@ Array Members
Dynamic storage arrays and ``bytes`` (not ``string``) have a member function Dynamic storage arrays and ``bytes`` (not ``string``) have a member function
called ``push(x)`` that you can use to append a given element at the end of the array. called ``push(x)`` that you can use to append a given element at the end of the array.
The function returns nothing. The function returns nothing.
**pop**: **pop()**:
Dynamic storage arrays and ``bytes`` (not ``string``) have a member Dynamic storage arrays and ``bytes`` (not ``string``) have a member
function called ``pop`` that you can use to remove an element from the function called ``pop()`` that you can use to remove an element from the
end of the array. This also implicitly calls :ref:`delete<delete>` on the removed element. end of the array. This also implicitly calls :ref:`delete<delete>` on the removed element.
.. note:: .. note::