diff --git a/doc/site/core/list.markdown b/doc/site/core/list.markdown index 823f5f73..7e78b731 100644 --- a/doc/site/core/list.markdown +++ b/doc/site/core/list.markdown @@ -39,7 +39,7 @@ are shifted up to fill in where the removed element was. Returns the removed item. - IO.print(["a", "b", "c"].removeAt(1) // "b". + IO.print(["a", "b", "c"].removeAt(1)) // "b". It is a runtime error if the index is not an integer or is out of bounds.