fix Yojson 2 compatibility

This commit is contained in:
Rijnard van Tonder 2022-06-20 12:06:42 -07:00
parent aeff64a4be
commit d9193e2ca7

View File

@ -118,8 +118,8 @@ module Match : sig
; ranges : Range.t list
}
val chunk_match_to_yojson : chunk_match -> Yojson.Safe.json
val chunk_match_of_yojson : Yojson.Safe.json -> (chunk_match, string) Result.t
val chunk_match_to_yojson : chunk_match -> Yojson.Safe.t
val chunk_match_of_yojson : Yojson.Safe.t -> (chunk_match, string) Result.t
val to_chunks : ?threshold:int -> string -> t list -> chunk_match list