Remove overly specific comment.

This commit is contained in:
Matthias Fischmann 2015-02-27 15:27:35 +01:00
parent 1a63d8797a
commit 27e842365f

View file

@ -42,10 +42,5 @@ import Servant.Server.Internal
-- > -- >
-- > main :: IO () -- > main :: IO ()
-- > main = Network.Wai.Handler.Warp.run 8080 app -- > main = Network.Wai.Handler.Warp.run 8080 app
--
-- (If you need access to the wai 'Application' type, use
-- 'toApplication'. This is useful for writing custom servers that do
-- things other than routing (e.g. dumping all requests and responses
-- to a file).)
serve :: HasServer layout => Proxy layout -> Server layout -> Application serve :: HasServer layout => Proxy layout -> Server layout -> Application
serve p server = toApplication (route p server) serve p server = toApplication (route p server)