]> Cypherpunks repositories - gostls13.git/commitdiff
minor adjustment to comment formatting for better godoc output
authorRobert Griesemer <gri@golang.org>
Tue, 21 Apr 2009 22:30:17 +0000 (15:30 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 21 Apr 2009 22:30:17 +0000 (15:30 -0700)
R=r
DELTA=5  (0 added, 0 deleted, 5 changed)
OCL=27687
CL=27689

src/lib/fmt/format.go

index ce5050371f9f503683d831ad7b887bb649f785f2..1c78d80c5e76885ff151276de987a504eeead85a 100644 (file)
@@ -29,14 +29,14 @@ func init() {
        Fmt is the raw formatter used by Printf etc.  Not meant for normal use.
        See print.go for a more palatable interface.
 
-       Model is to accumulate operands into an internal buffer and then
+       The model is to accumulate operands into an internal buffer and then
        retrieve the buffer in one hit using Str(), Putnl(), etc.  The formatting
        methods return ``self'' so the operations can be chained.
 
-       f := fmt.New();
-       print(f.Fmt_d(1234).Fmt_s("\n").Str());  // create string, print it
-       f.Fmt_d(-1234).Fmt_s("\n").Put();  // print string
-       f.Fmt_ud(1<<63).Putnl();  // print string with automatic newline
+               f := fmt.New();
+               print(f.Fmt_d(1234).Fmt_s("\n").Str());  // create string, print it
+               f.Fmt_d(-1234).Fmt_s("\n").Put();  // print string
+               f.Fmt_ud(1<<63).Putnl();  // print string with automatic newline
 */
 type Fmt struct {
        buf string;