Skip to content

Commit 4e79a87

Browse files
committed
Switched to ocamlformat 0.27.0
1 parent 3e53d79 commit 4e79a87

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.ocamlformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 0.26.2
1+
version = 0.27.0
22
profile = conventional
33

44
# Default overrides

src/sqlite3.mli

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ val sqlite_version : unit -> int
6363
val sqlite_version_info : unit -> string
6464
(** [sqlite_version_info ()]
6565
@return
66-
the version of the SQLite3 library being used in a human-readable string. *)
66+
the version of the SQLite3 library being used in a human-readable string.
67+
*)
6768

6869
(** {2 Types} *)
6970

@@ -235,7 +236,8 @@ module Data : sig
235236

236237
val to_string : t -> string option
237238
(** [to_string data] converts [data] to [Some string] or [None] if it is not a
238-
valid conversion. This method also converts data of type BLOB to a string. *)
239+
valid conversion. This method also converts data of type BLOB to a string.
240+
*)
239241

240242
val to_int : t -> int option
241243
(** [to_int data] converts [data] to [Some int] or [None] if it is not a valid
@@ -330,7 +332,8 @@ val ( let& ) : db -> (db -> 'a) -> 'a
330332
database [db] is safely closed at the end of the scope, even if there is an
331333
exception somewhere in the scope.
332334
333-
@raise Fun.Finally_raised if the database could not be closed successfully. *)
335+
@raise Fun.Finally_raised if the database could not be closed successfully.
336+
*)
334337

335338
val enable_load_extension : db -> bool -> bool
336339
(** [enable_load_extension db onoff] enable/disable the SQLite3 load extension.

test/test_stmt.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ let column_decltype s i =
1010
let stepbystep s =
1111
assert_done
1212
(iter s ~f:(function r ->
13-
Array.iteri
14-
(fun i c ->
15-
printf "%s column[%d] %s = %s\n%!" (column_decltype s i) i
16-
(column_name s i) (Data.to_string_coerce c))
17-
r))
13+
Array.iteri
14+
(fun i c ->
15+
printf "%s column[%d] %s = %s\n%!" (column_decltype s i) i
16+
(column_name s i) (Data.to_string_coerce c))
17+
r))
1818

1919
let stepbystep_wrong s =
2020
while step s = Rc.ROW do

0 commit comments

Comments
 (0)