summaryrefslogtreecommitdiffstats
path: root/ocamldoc/odoc_env.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ocamldoc/odoc_env.ml')
-rw-r--r--ocamldoc/odoc_env.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocamldoc/odoc_env.ml b/ocamldoc/odoc_env.ml
index 5fd1f0508..d55ace84c 100644
--- a/ocamldoc/odoc_env.ml
+++ b/ocamldoc/odoc_env.ml
@@ -223,7 +223,7 @@ let subst_module_type env t =
| Types.Mty_signature _ ->
t
| Types.Mty_functor (id, mt1, mt2) ->
- Types.Mty_functor (id, iter mt1, iter mt2)
+ Types.Mty_functor (id, Misc.may_map iter mt1, iter mt2)
in
iter t