mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
doc: escape some HTML in Effective Go code examples
Change-Id: I4204e268c7220a50ceb270432067850ec2b5af80 Reviewed-on: https://go-review.googlesource.com/41230 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
01b1a34aac
commit
868bb5d2f2
1 changed files with 1 additions and 1 deletions
|
@ -1833,7 +1833,7 @@ for a min function that chooses the least of a list of integers:
|
|||
</p>
|
||||
<pre>
|
||||
func Min(a ...int) int {
|
||||
min := int(^uint(0) >> 1) // largest int
|
||||
min := int(^uint(0) >> 1) // largest int
|
||||
for _, i := range a {
|
||||
if i < min {
|
||||
min = i
|
||||
|
|
Loading…
Reference in a new issue