summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorDavid Krause <enthus1ast@users.noreply.github.com>2016-11-17 16:47:36 +0100
committerGitHub <noreply@github.com>2016-11-17 16:47:36 +0100
commit5058ae1ba55b4a883044f2280160af818ba58b32 (patch)
tree54269494dad8521308ebb19382888401caee344a /lib
parentc629d6fef15026169c08db677743ffbddf9d03d4 (diff)
downloadNim-5058ae1ba55b4a883044f2280160af818ba58b32.tar.gz
fixed typo
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/net.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/net.nim b/lib/pure/net.nim
index 58f5e5777..863a8a6f4 100644
--- a/lib/pure/net.nim
+++ b/lib/pure/net.nim
@@ -1250,7 +1250,7 @@ proc IPv6_loopback*(): IpAddress =
     address_v6: [0'u8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1])
 
 proc `==`*(lhs, rhs: IpAddress): bool =
-  ## Compares two IpAddresses for Equality. Returns two if the addresses are equal
+  ## Compares two IpAddresses for Equality. Returns true if the addresses are equal
   if lhs.family != rhs.family: return false
   if lhs.family == IpAddressFamily.IPv4:
     for i in low(lhs.address_v4) .. high(lhs.address_v4):