Skip to content

Commit

Permalink
remove ToText from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
soenkehahn committed Apr 2, 2016
1 parent 4f55897 commit b72c271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servant-server/src/Servant/Server/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ instance OVERLAPPING_
-- Example:
--
-- > newtype Referer = Referer Text
-- > deriving (Eq, Show, FromHttpApiData, ToText)
-- > deriving (Eq, Show, FromHttpApiData)
-- >
-- > -- GET /view-my-referer
-- > type MyApi = "view-my-referer" :> Header "Referer" Referer :> Get '[JSON] Referer
Expand Down

0 comments on commit b72c271

Please sign in to comment.