Skip to content

Commit 4aaf347

Browse files
committed
fix doc for Lwt_io.open_connection
Ignore-this: a4899b96d384e8e0396b20e29cb395a8 darcs-hash:20121117090343-c41ad-7c2697c3cc42d49e8caf7b454999042dc2f0120d
1 parent bce7dbe commit 4aaf347

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/lwt_io.mli

+2-2
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ val with_file :
377377
channel is closed when [f ch] terminates (even if it fails). *)
378378

379379
val open_connection : ?buffer_size : int -> Unix.sockaddr -> (input_channel * output_channel) Lwt.t
380-
(** [open_connection ?buffer_size ~mode addr] open a connection to
380+
(** [open_connection ?buffer_size addr] open a connection to
381381
the given address and returns two channels for using it.
382382
383383
The connection is completly closed when you close both
@@ -387,7 +387,7 @@ val open_connection : ?buffer_size : int -> Unix.sockaddr -> (input_channel * ou
387387
*)
388388

389389
val with_connection : ?buffer_size : int -> Unix.sockaddr -> (input_channel * output_channel -> 'a Lwt.t) -> 'a Lwt.t
390-
(** [with_connection ?buffer_size ~mode addr f] open a connection to
390+
(** [with_connection ?buffer_size addr f] open a connection to
391391
the given address and passes the channels to [f] *)
392392

393393
type server

0 commit comments

Comments
 (0)