From 6738a388183d98ceb1a5f74bcc377ed9804b845e Mon Sep 17 00:00:00 2001 From: Timo von Holtz Date: Wed, 18 Mar 2015 15:30:59 +1100 Subject: [PATCH] Fix doctests --- src/Servant/API/ContentTypes.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Servant/API/ContentTypes.hs b/src/Servant/API/ContentTypes.hs index 6808761f..e12f991a 100644 --- a/src/Servant/API/ContentTypes.hs +++ b/src/Servant/API/ContentTypes.hs @@ -190,7 +190,7 @@ instance ( AllMimeRender ctyps a, IsNonEmpty ctyps -- -- >>> :{ --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 -- _ -> Left "didn't start with the magic incantation" -- :}