diff --git a/doc/go_mem.html b/doc/go_mem.html index 143f3b2ff2..d355bebaed 100644 --- a/doc/go_mem.html +++ b/doc/go_mem.html @@ -418,8 +418,12 @@ func twoprint() {
-calling twoprint causes "hello, world" to be printed twice.
-The first call to doprint runs setup once.
+calling twoprint will call setup exactly
+once.
+The setup function will complete before either call
+of print.
+The result will be that "hello, world" will be printed
+twice.