@@ -77,7 +77,7 @@ data SourceEnd = SourceEnd
7777
7878-- | A `TargetEnd` provides a `receive` function that allows messages
7979-- to be received from the corresponding `SourceEnd`s.
80−-- The `closeAll` function closes all connections to this target,
80+-- The `closeTargetEnd` function closes all connections to this target,
8181-- and all new connections will be refused.
8282data TargetEnd = TargetEnd
8383 { receive :: IO [ByteString]