Skip to content

Commit

Permalink
Merge pull request #293 from talex5/release
Browse files Browse the repository at this point in the history
Minor documentation fixes
  • Loading branch information
talex5 authored Aug 26, 2022
2 parents 32efe7a + 935f053 commit d86a4fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib_eio/mock/eio_mock.mli
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module Action : sig
| `Return of 'a (** Immediately return a value *)
| `Raise of exn (** Raise an exception *)
| `Await of 'a Eio.Promise.or_exn (** Wait for a promise to resolve *)
| `Yield_then of 'a t (** Call {!Fiber.yield}, then perform an action *)
| `Yield_then of 'a t (** Call {!Eio.Fiber.yield}, then perform an action *)
| `Run of unit -> 'a (** Run any code you like. *)
]

Expand Down
2 changes: 1 addition & 1 deletion lib_eio/net.mli
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ val getaddrinfo: ?service:string -> #t -> string -> Sockaddr.t list
@param service is a human friendly textual name for internet services assigned by IANA., eg.
'http', 'https', 'ftp', etc.
For a more thorough treatment, @see <https://man7.org/linux/man-pages/man3/getaddrinfo.3.html> getaddrinfo *)
For a more thorough treatment, see {{:https://man7.org/linux/man-pages/man3/getaddrinfo.3.html} getaddrinfo}. *)

val getaddrinfo_stream: ?service:string -> #t -> string -> Sockaddr.stream list
(** [getaddrinfo_stream] is like {!getaddrinfo}, but filters out non-stream protocols. *)
Expand Down
2 changes: 1 addition & 1 deletion lib_eio_luv/eio_luv.mli
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Low_level : sig
val sleep_until : float -> unit
(** [sleep_until time] blocks until the current time is [time]. *)

(** {DNS functions} *)
(** {1 DNS functions} *)

val getaddrinfo : service:string -> string -> Eio.Net.Sockaddr.t list
(** [getaddrinfo ~service host] returns a list of IP addresses for [host]. [host] is either a domain name or
Expand Down

0 comments on commit d86a4fd

Please sign in to comment.