Skip to content

Commit 308ab21

Browse files
authored
reference/templates: correct println description (#60)
> 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]>
1 parent e6d0e03 commit 308ab21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/reference/templates/functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,7 @@ Concatenates the arguments in order, adding spaces between arguments when neithe
17221722
{{ $result := println <args...> }}
17231723
```
17241724

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

17281728
#### printf

0 commit comments

Comments
 (0)