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 +```