Skip to content

Commit 8459922

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

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/core/CCInt32.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ let random_range i j st = add i (random (sub j i) st)
111111

112112
let of_string_exn = of_string
113113
let of_string x = try Some (of_string_exn x) with Failure _ -> None
114-
let of_string_opt = of_string
115114
let most_significant_bit = logxor (neg 1l) (shift_right_logical (neg 1l) 1)
116115

117116
type output = char -> unit

src/core/CCInt32.mli

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ val of_string : string -> t option
8181
(** [of_string s] is the safe version of {!of_string_exn}.
8282
Like {!of_string_exn}, but return [None] instead of raising. *)
8383

84-
val of_string_opt : string -> t option
85-
(** [of_string_opt s] is an alias to {!of_string}. *)
86-
8784
val of_string_exn : string -> t
8885
(** [of_string_exn s] converts the given string [s] into a 32-bit integer.
8986
Alias to {!Int32.of_string}.

0 commit comments

Comments
 (0)