summaryrefslogtreecommitdiff
path: root/compiler/rename/RnHsDoc.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rename/RnHsDoc.hs')
-rw-r--r--compiler/rename/RnHsDoc.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rename/RnHsDoc.hs b/compiler/rename/RnHsDoc.hs
index 9e53f49320..ac2589df4e 100644
--- a/compiler/rename/RnHsDoc.hs
+++ b/compiler/rename/RnHsDoc.hs
@@ -1,6 +1,8 @@
module RnHsDoc ( rnHsDoc, rnLHsDoc, rnMbLHsDoc ) where
+import GhcPrelude
+
import TcRnTypes
import HsSyn
import SrcLoc
@@ -19,5 +21,5 @@ rnLHsDoc (L pos doc) = do
return (L pos doc')
rnHsDoc :: HsDocString -> RnM HsDocString
-rnHsDoc (HsDocString s) = return (HsDocString s)
+rnHsDoc = pure