mirror of
https://github.com/golang/go
synced 2024-11-26 19:51:17 -07:00
text/template: improve comment example in doc
Make comment example consistent with its description. Fixes #24767 Change-Id: Icff54b489040b1ce66c644a21343c6576304cf75 Reviewed-on: https://go-review.googlesource.com/107663 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
206ed90eaf
commit
c6bbfbe708
@ -69,6 +69,7 @@ data, defined in detail in the corresponding sections that follow.
|
||||
|
||||
*/
|
||||
// {{/* a comment */}}
|
||||
// {{- /* a comment with white space trimmed from preceding and following text */ -}}
|
||||
// A comment; discarded. May contain newlines.
|
||||
// Comments do not nest and must start and end at the
|
||||
// delimiters, as shown here.
|
||||
|
Loading…
Reference in New Issue
Block a user