x/pkgsite,go/doc: examples can have trailing newlines inside the block #72098
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I found a problem in the example functions across the entire codebase while exploring the Go website. Many Go examples have an unnecessary newline between the end of their code blocks and the output comment. This results in extra newlines on the Go website and pkgsite.
For example, check the source code and the example on the website.
What is the best approach for this?
The text was updated successfully, but these errors were encountered: