Commits

camlspotter committed dba9209

fix

  • Participants
  • Parent commits 5e2892f
  • Branches js

Comments (0)

Files changed (1)

File lib/xformat.ml

   let ppf = formatter_of_buffer buf in
   kfprintf (fun ppf -> flush ppf; Buffer.contents buf) ppf fmt
 
-let to_string f v=
-  let buf = Buffer.create 100 in
-  let ppf = formatter_of_buffer buf in
-  f ppf v;
-  flush ppf; 
-  Buffer.contents buf
-
 let ksprintf f fmt =
   let buf = Buffer.create 100 in
   let ppf = formatter_of_buffer buf in