Fix doctests
This commit is contained in:
parent
e9797732b1
commit
6738a38818
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ instance ( AllMimeRender ctyps a, IsNonEmpty ctyps
|
||||||
--
|
--
|
||||||
-- >>> :{
|
-- >>> :{
|
||||||
--instance Read a => MimeUnrender MyContentType a where
|
--instance Read a => MimeUnrender MyContentType a where
|
||||||
-- fromByteString _ bs = case BSC.take 12 bs of
|
-- fromByteString _ _ bs = case BSC.take 12 bs of
|
||||||
-- "MyContentType" -> return . read . BSC.unpack $ BSC.drop 12 bs
|
-- "MyContentType" -> return . read . BSC.unpack $ BSC.drop 12 bs
|
||||||
-- _ -> Left "didn't start with the magic incantation"
|
-- _ -> Left "didn't start with the magic incantation"
|
||||||
-- :}
|
-- :}
|
||||||
|
|
Loading…
Reference in a new issue