Skip to content

Commit d0f2b70

Browse files
committed
ocamlformat
1 parent a43be1d commit d0f2b70

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/postgresql.ml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,8 @@ module Connection (Mutex : Mutex) = struct
967967
in
968968
let conn_mtx = Mutex.create () in
969969
let cancel_mtx = Mutex.create () in
970-
let finished = ref false in (* bool becomes true after deallocation *)
970+
let finished = ref false in
971+
(* bool becomes true after deallocation *)
971972
let check_null () =
972973
if !finished then
973974
failwith "Postgresql.check_null: connection already finished"
@@ -1031,7 +1032,10 @@ module Connection (Mutex : Mutex) = struct
10311032
in
10321033

10331034
object (self (* Main routines *))
1034-
method finish = wrap_both (fun c -> Stub.finish c; finished := true)
1035+
method finish =
1036+
wrap_both (fun c ->
1037+
Stub.finish c;
1038+
finished := true)
10351039

10361040
method try_reset =
10371041
wrap_conn (fun conn ->

0 commit comments

Comments
 (0)