diff --git a/doc/go_mem.html b/doc/go_mem.html index ede79720a6..4772bc2178 100644 --- a/doc/go_mem.html +++ b/doc/go_mem.html @@ -190,7 +190,8 @@ the send on that channel completes.
-This program: +This program (as above, but with the send and receive statements swapped and +using an unbuffered channel):
@@ -222,7 +223,7 @@ before thec = make(chan int, 1)) then the program would not be guaranteed to print"hello, world". (It might print the empty string; -it cannot print"hello, sailor", nor can it crash.) +it cannot print"goodbye, universe", nor can it crash.)Locks