Skip to content

Commit

Permalink
doc: escape some HTML in Effective Go code examples
Browse files Browse the repository at this point in the history
Change-Id: I4204e268c7220a50ceb270432067850ec2b5af80
Reviewed-on: https://go-review.googlesource.com/41230
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
jamesneve authored and bradfitz committed Apr 20, 2017
1 parent 01b1a34 commit 868bb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/effective_go.html
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ <h3 id="printing">Printing</h3>
</p>
<pre>
func Min(a ...int) int {
min := int(^uint(0) >> 1) // largest int
min := int(^uint(0) &gt;&gt; 1) // largest int
for _, i := range a {
if i &lt; min {
min = i
Expand Down

0 comments on commit 868bb5d

Please sign in to comment.