Commit db25e787 authored by Rob Pike's avatar Rob Pike

fix top-level comments

R=rsc
DELTA=14  (13 added, 0 deleted, 1 changed)
OCL=17858
CL=17867
parent 84b66d25
...@@ -5,10 +5,12 @@ ...@@ -5,10 +5,12 @@
package fmt package fmt
/* /*
Raw formatter. See print.go for a more palatable interface.
f := fmt.New(); f := fmt.New();
print f.d(1234).s("\n").str(); // create string, print it print f.d(1234).s("\n").str(); // create string, print it
f.d(-1234).s("\n").put(); // print string 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; // export Fmt, New;
......
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
package fmt 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 ( import (
"fmt"; "fmt";
"reflect"; "reflect";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment