aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockTypes.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/HaddockTypes.hs')
-rw-r--r--src/HaddockTypes.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HaddockTypes.hs b/src/HaddockTypes.hs
index f91c1ab1..10d7f796 100644
--- a/src/HaddockTypes.hs
+++ b/src/HaddockTypes.hs
@@ -111,7 +111,8 @@ data ExportItem
data ExportItem2
= ExportDecl2
GHC.Name -- the original name
- (GHC.HsDecl GHC.Name) -- a declaration (with doc annotations)
+ (GHC.HsDecl GHC.Name) -- a declaration
+ (Maybe (GHC.HsDoc GHC.Name)) -- maybe a doc comment
[InstHead] -- instances relevant to this declaration
| ExportNoDecl2 -- an exported entity for which we have no documentation