summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeo Camarasu <teofilcamarasu@gmail.com>2022-02-27 15:59:53 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-28 19:18:27 -0500
commit80f9133e128abc61913d264ecd8b102517b266f5 (patch)
treebc5fed67d5192c94f1d0240e51ef934077ab12d1
parent3e65ef05cae9a0192b26fae184cb5037b013d4c5 (diff)
downloadhaskell-80f9133e128abc61913d264ecd8b102517b266f5.tar.gz
template-haskell: fix docstring for Bytes
It seems like a commented out section of code was accidentally included in the docstring for a field.
-rw-r--r--libraries/template-haskell/Language/Haskell/TH/Syntax.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
index 2ec62d7859..5823cfafa8 100644
--- a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
+++ b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
@@ -2108,6 +2108,7 @@ data Bytes = Bytes
{ bytesPtr :: ForeignPtr Word8 -- ^ Pointer to the data
, bytesOffset :: Word -- ^ Offset from the pointer
, bytesSize :: Word -- ^ Number of bytes
+
-- Maybe someday:
-- , bytesAlignement :: Word -- ^ Alignement constraint
-- , bytesReadOnly :: Bool -- ^ Shall we embed into a read-only