Skip to content

Commit fd73723

Browse files
committed
CCInt64(cleanup): remove function always present on 4.08
1 parent 8459922 commit fd73723

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/core/CCInt64.ml

-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ let random_range i j st = add i (random (sub j i) st)
128128

129129
let of_string_exn = of_string
130130
let of_string x = try Some (of_string_exn x) with Failure _ -> None
131-
let of_string_opt = of_string
132131
let most_significant_bit = logxor (neg 1L) (shift_right_logical (neg 1L) 1)
133132

134133
type output = char -> unit

src/core/CCInt64.mli

-4
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ val of_string : string -> t option
8686
(** [of_string s] is the safe version of {!of_string_exn}.
8787
Like {!of_string_exn}, but return [None] instead of raising. *)
8888

89-
val of_string_opt : string -> t option
90-
(** [of_string_opt s] is an alias to {!of_string}.
91-
@since 2.1 *)
92-
9389
val of_string_exn : string -> t
9490
(** [of_string_exn s] converts the given string [s] into a 64-bit integer.
9591
Alias to {!Int64.of_string}.

0 commit comments

Comments
 (0)