]> Cypherpunks repositories - gostls13.git/commitdiff
- fixed a typo
authorRobert Griesemer <gri@golang.org>
Wed, 28 May 2008 00:09:40 +0000 (17:09 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 28 May 2008 00:09:40 +0000 (17:09 -0700)
SVN=120165

doc/go_lang.txt

index 574f3c7d19ba1e40b0f8fb76e5c101551ea7f31a..3b908f1e02d23064aa8e4be8629dbca3a7e204a8 100644 (file)
@@ -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.