summaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/snippets/int_to_string_fill.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/snippets/int_to_string_fill.md b/docs/markdown/snippets/int_to_string_fill.md
index 2b0d25085..44885ff66 100644
--- a/docs/markdown/snippets/int_to_string_fill.md
+++ b/docs/markdown/snippets/int_to_string_fill.md
@@ -6,10 +6,10 @@ string representation of the integer with leading zeroes:
```meson
n = 4
message(n.to_string())
-message(n.to_string(length: 3))
+message(n.to_string(fill: 3))
n = -4
-message(n.to_string(length: 3))
+message(n.to_string(fill: 3))
```
OUTPUT:
@@ -17,4 +17,4 @@ OUTPUT:
4
004
-04
-``` \ No newline at end of file
+```