Skip to content

Commit

Permalink
tmpl: correct println description
Browse files Browse the repository at this point in the history
> Spaces are always added between operands and a newline is appended.
`println` *always* inserts spaces within arguments, as defined in the
godoc: https://pkg.go.dev/fmt#Sprintln

Signed-off-by: Galen CC <[email protected]>
  • Loading branch information
galen8183 committed Dec 14, 2024
1 parent e6d0e03 commit 19e6095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/reference/templates/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,7 @@ Concatenates the arguments in order, adding spaces between arguments when neithe
{{ $result := println <args...> }}
```

Concatenates the arguments in order, adding spaces between arguments when neither is a string and inserting a newline at
Concatenates the arguments in order, adding spaces between arguments and inserting a newline at
the end.

#### printf
Expand Down

0 comments on commit 19e6095

Please sign in to comment.