From: Tim Cooper Date: Wed, 13 Jun 2018 21:57:40 +0000 (-0300) Subject: doc: fix fmt usage in code.html X-Git-Tag: go1.11beta1~107 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a7d89572beebceec6d7ea3c1868fdb2fbc69c512;p=gostls13.git doc: fix fmt usage in code.html Fixes #25876 Change-Id: I149dbb2afef13cc13fb5722d930377ed918d7e3c Reviewed-on: https://go-review.googlesource.com/118717 Reviewed-by: Brad Fitzpatrick --- diff --git a/doc/code.html b/doc/code.html index c0efcde66f..4e8c54a1c5 100644 --- a/doc/code.html +++ b/doc/code.html @@ -240,7 +240,7 @@ package main import "fmt" func main() { - fmt.Printf("Hello, world.\n") + fmt.Println("Hello, world.") } @@ -395,7 +395,7 @@ import ( ) func main() { - fmt.Printf(stringutil.Reverse("!oG ,olleH")) + fmt.Println(stringutil.Reverse("!oG ,olleH")) }