From: Robert Griesemer Date: Wed, 28 May 2008 00:09:40 +0000 (-0700) Subject: - fixed a typo X-Git-Tag: weekly.2009-11-06~3773 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=896c8f4ecca91455bd87ac7010b81ea7a5b64de7;p=gostls13.git - fixed a typo SVN=120165 --- diff --git a/doc/go_lang.txt b/doc/go_lang.txt index 574f3c7d19..3b908f1e02 100644 --- a/doc/go_lang.txt +++ b/doc/go_lang.txt @@ -1237,7 +1237,7 @@ initial values. For instance, type S struct { a int; b float } - new(int32) + new(S) allocates storage for an S, initializes it (a=0, b=0.0), and returns a value of type *S pointing to that storage.