From d314e3a68e08fd0769847ca4eb6f9fef335266bd Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 31 Jan 2013 13:42:26 -0800 Subject: [PATCH] doc/codewalk: gofmt pig.go R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7221079 --- doc/codewalk/pig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.48.1