mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 19:25:28 -05:00
doc: fix bad example in CCIO
This commit is contained in:
parent
8e3dc5e006
commit
fa0290061b
1 changed files with 1 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
(* This file is free software, part of containers. See file "license" for more details. *)
|
(* This file is free software, part of containers. See file "license" for more details. *)
|
||||||
|
|
||||||
(** {1 IO Utils}
|
(** {1 IO Utils}
|
||||||
|
|
@ -12,7 +11,7 @@
|
||||||
- obtain the list of lines of a file:
|
- obtain the list of lines of a file:
|
||||||
|
|
||||||
{[
|
{[
|
||||||
# let l = CCIO.(with_in "/tmp/some_file" read_lines);;
|
# let l = CCIO.(with_in "/tmp/some_file" read_lines_l);;
|
||||||
]}
|
]}
|
||||||
|
|
||||||
- transfer one file into another:
|
- transfer one file into another:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue