From: Russ Cox Date: Thu, 31 Jan 2013 21:42:26 +0000 (-0800) Subject: doc/codewalk: gofmt pig.go X-Git-Tag: go1.1rc2~1213 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d314e3a68e08fd0769847ca4eb6f9fef335266bd;p=gostls13.git doc/codewalk: gofmt pig.go R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7221079 --- diff --git a/doc/codewalk/pig.go b/doc/codewalk/pig.go index 10963b4e40..941daaed16 100644 --- a/doc/codewalk/pig.go +++ b/doc/codewalk/pig.go @@ -23,7 +23,7 @@ type score struct { // An action transitions stochastically to a resulting score. type action func(current score) (result score, turnIsOver bool) -// roll returns the (result, turnIsOver) outcome of simulating a die roll. +// roll returns the (result, turnIsOver) outcome of simulating a die roll. // If the roll value is 1, then thisTurn score is abandoned, and the players' // roles swap. Otherwise, the roll value is added to thisTurn. func roll(s score) (score, bool) {