on master help sign in
Use past participles
commit27cbe474f9c6762c8b45639e78ad3563d44dc07c authorDavid Turner <dave.c.turner@gmail.com> dateTue 22 Jul 2014, 09:59 (12 years ago) parent68de1e0
1 file changed+2−2
warp/Network/Wai/Handler/Warp.hs+2−2
warp/Network/Wai/Handler/Warp.hs+2−2
@@ -127,7 +127,7 @@ setOnException x y = y { settingsOnException = x }
127127setOnExceptionResponse :: (SomeException -> Response) -> Settings -> Settings
128128setOnExceptionResponse x y = y { settingsOnExceptionResponse = x }
129129
130−-- | What to do when a connection is open. When 'False' is returned, the
130+-- | What to do when a connection is opened. When 'False' is returned, the
131131-- connection is closed immediately. Otherwise, the connection is going on.
132132-- Default: always returns 'True'.
133133--
@@ -135,7 +135,7 @@ setOnExceptionResponse x y = y { settingsOnExceptionResponse = x }
135135setOnOpen :: (SockAddr -> IO Bool) -> Settings -> Settings
136136setOnOpen x y = y { settingsOnOpen = x }
137137
138−-- | What to do when a connection is close. Default: do nothing.
138+-- | What to do when a connection is closed. Default: do nothing.
139139--
140140-- Since 2.1.0
141141setOnClose :: (SockAddr -> IO ()) -> Settings -> Settings