aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 66b6ad3..b96e6e1 100644
--- a/docs/markdown/Syntax.md
+++ b/docs/markdown/Syntax.md
@@ -347,7 +347,7 @@ about the methods exposed by dictionaries.
Since 0.49.0, you can check if a dictionary contains a key like this:
```meson
-my_dict = {'foo': 42, 'foo': 43}
+my_dict = {'foo': 42, 'bar': 43}
if 'foo' in my_dict
# This condition is true
endif