]> Cypherpunks repositories - gostls13.git/commitdiff
fix top-level comments
authorRob Pike <r@golang.org>
Sun, 26 Oct 2008 15:27:50 +0000 (08:27 -0700)
committerRob Pike <r@golang.org>
Sun, 26 Oct 2008 15:27:50 +0000 (08:27 -0700)
R=rsc
DELTA=14  (13 added, 0 deleted, 1 changed)
OCL=17858
CL=17867

src/lib/fmt/format.go
src/lib/fmt/print.go

index 9099a1630691e8b8fb202f2a55e0ee174da47dae..da8f9173297d4bdcfeb7c039eaeea6310e7d43ac 100644 (file)
@@ -5,10 +5,12 @@
 package fmt
 
 /*
+       Raw formatter. See print.go for a more palatable interface.
+
        f := fmt.New();
        print f.d(1234).s("\n").str();  // create string, print it
        f.d(-1234).s("\n").put();  // print string
-       f.ud(^0).putnl();  // print string with automatic newline
+       f.ud(1<<63).putnl();  // print string with automatic newline
 */
 
 // export Fmt, New;
index db42c1e0d529bd9c8f2211ec5b25f91f4cb2b8d6..39500f44ae474982d9587530d16b93251e3e054f 100644 (file)
@@ -4,6 +4,11 @@
 
 package fmt
 
+/*
+       C-like printf, but because of reflection knowledge does not need
+       to be told about sizes and signedness (no %llud etc. - just %d).
+*/
+
 import (
        "fmt";
        "reflect";