Skip to content

Commit

Permalink
fix: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
maxRN committed Sep 30, 2024
1 parent fb89819 commit fc17867
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion derive/ser.ml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ let gen_serialize_impl ~ctxt type_decl =
Serde.Ser.(fun t ctx -> [%e body])]

let generate_impl ~ctxt (_rec_flag, type_declarations) =
let loc = loc ~ctxt in
List.map (gen_serialize_impl ~ctxt) type_declarations

let impl_generator = Deriving.Generator.V2.make_noarg generate_impl
Expand Down

0 comments on commit fc17867

Please sign in to comment.