Skip to content

Commit

Permalink
Avoid using a _ pattern where it's not necessary
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
  • Loading branch information
rgrinberg committed Aug 5, 2018
1 parent 0e6dda2 commit fe6fae0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dir_contents.ml
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,8 @@ let rec get sctx ~dir =
~modules:(modules_of_files ~dir:d.ctx_dir ~files))
; mlds = lazy (build_mlds_map d ~files)
}
| _ ->
| Some (_, None)
| None ->
{ kind = Standalone
; dir
; text_files = String.Set.empty
Expand Down

0 comments on commit fe6fae0

Please sign in to comment.