Skip to content

Commit 4bcc21d

Browse files
committed
Fix some typos
1 parent a4bd8a4 commit 4bcc21d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Node/Net.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ foreign import addressImpl :: EffectFn1 Server (Nullable Foreign)
147147

148148
-- | Attempts to return the bound address of a `Server`.
149149
-- |
150-
-- | If the `Server` is not listening, no `Nothing` is returned.
150+
-- | If the `Server` is not listening, `Nothing` is returned.
151151
-- | If the `Server` is ICP, it will return a `String`.
152152
-- | If the `Server` is TCP, it will return an `Address`.
153153
address :: Server -> Effect (Maybe (Either Address String))
@@ -458,7 +458,7 @@ foreign import localPortImpl :: EffectFn1 Socket (Nullable Int)
458458

459459
-- | Attempts to return the port a client is connecting on.
460460
-- | E.g. if a client connects from `80`,
461-
-- | the result would be `Just "80"`.
461+
-- | the result would be `Just 80`.
462462
localPort :: Socket -> Effect (Maybe Int)
463463
localPort socket = do
464464
port <- runEffectFn1 localPortImpl socket

0 commit comments

Comments
 (0)