fix: add missing code block marker in list docs and simplify parens increment in compiler

- Add missing `:::wren` code block marker before the `removeAt` example in the list documentation to ensure proper syntax highlighting.
- Simplify the `parens` array increment in `readString` by combining the assignment and post-increment into a single expression.
This commit is contained in:
Bob Nystrom
2016-02-24 14:52:12 +00:00
parent 217763a51d
commit c9390c624b
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -71,6 +71,7 @@ are shifted up to fill in where the removed element was.
Returns the removed item.
:::wren
System.print(["a", "b", "c"].removeAt(1)) //> b
It is a runtime error if the index is not an integer or is out of bounds.