diff --git a/ch09/plNoRace.go b/ch09/plNoRace.go index 7bb81dd..1ac47e8 100644 --- a/ch09/plNoRace.go +++ b/ch09/plNoRace.go @@ -26,7 +26,6 @@ func first(min, max int, out chan<- int) { return case out <- random(min, max): } - } } @@ -62,7 +61,6 @@ func main() { n1, _ := strconv.Atoi(os.Args[1]) n2, _ := strconv.Atoi(os.Args[2]) - if n1 > n2 { fmt.Printf("%d should be smaller than %d.\n", n1, n2) return