Skip to content

Commit

Permalink
Enable ocamlformat parse-docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbin committed Jan 10, 2025
1 parent 9766884 commit 2797105
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .ocamlformat
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
version=0.27.0
profile=janestreet
parse-docstrings=true
6 changes: 3 additions & 3 deletions lib/bopkit_circuit/src/gate_kind.mli
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ type t =
; arguments : string list
; protocol_prefix : string Core.Set_once.t
(** The method name and the arguments are constant for a given gate,
thus the simulator caches the prefix of the string that it will
send to the external process. *)
thus the simulator caches the prefix of the string that it will
send to the external process. *)
; index : int Core.Set_once.t
(** The index of the external gate in the process table is determined
at runtime during the initialization of the simulation. *)
at runtime during the initialization of the simulation. *)
}
[@@deriving sexp_of]

Expand Down
2 changes: 1 addition & 1 deletion lib/bopkit_simulator/src/circuit_simulator.ml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module External_process = struct
; input_pipe : Out_channel.t
; mutable pending_input : Pending_input.t option
(* [pending_input] is used to improve error messages in the case of a
process terminating before responding to an input. *)
process terminating before responding to an input. *)
}
end

Expand Down

0 comments on commit 2797105

Please sign in to comment.