aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Syntax.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/Syntax.md')
-rw-r--r--docs/markdown/Syntax.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md
index 6f43887..2a7428b 100644
--- a/docs/markdown/Syntax.md
+++ b/docs/markdown/Syntax.md
@@ -103,7 +103,7 @@ Strings also support a number of other methods that return transformed copies.
```meson
# Similar to the Python str.strip(). Removes leading/ending spaces and newlines
define = ' -Dsomedefine '
-stripped_define = target.strip()
+stripped_define = define.strip()
# 'stripped_define' now has the value '-Dsomedefine'
```