From d5fc10fbd8767ebd36667a7b6fc3f1a44428706e Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 24 Jul 2017 21:52:16 +0000 Subject: Fix wording about array immutability --- docs/markdown/Syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/markdown') diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index cf8ead2..37c1857 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -216,7 +216,7 @@ my_array += ['something'] my_array += 'else' ``` -Note that this will create a new `my_array` object instead of appending to the old one since all objects in Meson are immutable. +Note appending to an array will always create a new array object and assign it to `my_array` instead of modifying the original since all objects in Meson are immutable. #### Array methods -- cgit v1.1