Skip to content

Commit

Permalink
Remove useless include (#2493)
Browse files Browse the repository at this point in the history
Co-authored-by: Cuihtlauac ALVARADO <[email protected]>
  • Loading branch information
cuihtlauac and Cuihtlauac ALVARADO authored Jun 7, 2024
1 parent e8b5724 commit 6695523
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/ocamlorg_data/data.ml
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,10 @@ end
module Planet = struct
include Planet

module Post = struct
include Planet.Post
end

module LocalBlog = struct
include Planet.LocalBlog
include LocalBlog

let get_by_id id = List.find_opt (fun x -> String.equal x.source.id id) all
let get_by_id id = List.find_opt (fun (x : t) -> String.equal x.source.id id) all
end

let local_posts =
Expand Down

0 comments on commit 6695523

Please sign in to comment.