Skip to content

Commit

Permalink
Fix warnings in sherlodoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Julow committed Dec 13, 2024
1 parent 14bff51 commit 8b814e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion sherlodoc/db/entry.ml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type t =
; pkg : Package.t
}

let pp fmt { name; rhs; url; kind; cost; doc_html; pkg } =
let pp fmt { name; rhs; url; kind = _; cost; doc_html; pkg = _ } =
Format.fprintf
fmt
"{ name = %s ; rhs = %a ; url = %s ; kind = . ; cost = %d ; doc_html = %s ; pkg = . }\n"
Expand Down
1 change: 0 additions & 1 deletion sherlodoc/index/index.ml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ let index_file register filename =
match Fpath.of_string filename with
| Error (`Msg msg) -> Format.printf "FILE ERROR %s: %s@." filename msg
| Ok file ->
let open Odoc_model in
(match handle_file register file with
| Ok result -> result
| Error (`Msg msg) ->
Expand Down

0 comments on commit 8b814e8

Please sign in to comment.