From 04b08da9af0c450d645ab7389d1467308cfc2db8 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 4 Mar 2013 21:27:36 +0100 Subject: Imported Upstream version 1.1~hg20130304 --- doc/codewalk/pig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/codewalk/pig.go') diff --git a/doc/codewalk/pig.go b/doc/codewalk/pig.go index 10963b4e4..941daaed1 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) { -- cgit v1.2.3