aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fmt/format.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-10-26 08:27:50 -0700
committerRob Pike <r@golang.org>2008-10-26 08:27:50 -0700
commitdb25e787fed221395c2a4298844d4e206f1a2ff0 (patch)
treeaf7c76887a01a5bbfd91ee345af8c70200cdf3ea /src/lib/fmt/format.go
parent84b66d25de2085fb687f9976481574fa3de9b608 (diff)
downloadgo-db25e787fed221395c2a4298844d4e206f1a2ff0.tar.xz
fix top-level comments
R=rsc DELTA=14 (13 added, 0 deleted, 1 changed) OCL=17858 CL=17867
Diffstat (limited to 'src/lib/fmt/format.go')
-rw-r--r--src/lib/fmt/format.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/fmt/format.go b/src/lib/fmt/format.go
index 9099a16306..da8f917329 100644
--- a/src/lib/fmt/format.go
+++ b/src/lib/fmt/format.go
@@ -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;