yesod-core: On handlerToIO's docs, avoid shadowing a name.

This commit is contained in:
Felipe Lessa 2012-08-20 13:09:43 -03:00
parent 60046bad96
commit 786b5bc6e2

View File

@ -403,8 +403,8 @@ getRouteToMaster = handlerToMaster `liftM` ask
-- @ -- @
-- getFooR :: Handler RepHtml -- getFooR :: Handler RepHtml
-- getFooR = do -- getFooR = do
-- runHandler <- handlerToIO -- runInnerHandler <- handlerToIO
-- liftIO $ forkIO $ runHandler $ do -- liftIO $ forkIO $ runInnerHandler $ do
-- /Code here runs inside GHandler but on a new thread./ -- /Code here runs inside GHandler but on a new thread./
-- /This is the inner GHandler./ -- /This is the inner GHandler./
-- ... -- ...