diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 02db22818..eaf24cf65 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -45,7 +45,7 @@ Strings can be converted to a number like this: ```meson string_var = '42' -num = var1.to_int() +num = string_var.to_int() ``` Booleans