Skip to content

Commit

Permalink
Fix few more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija committed Apr 16, 2023
1 parent d5f71d8 commit 267fd5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ipaddress/ipv4.cr
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ module IPAddress

# Array formed with the IP octets
@octets = @address.split('.').map &.to_i
# 32 bits interger containing the address
# 32 bits integer containing the address
@u32 = IPAddress.aton(address)
end

Expand Down
2 changes: 1 addition & 1 deletion src/ipaddress/ipv6.cr
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ module IPAddress
parse_u128 hex.to_big_i(16), prefix
end

# Expands an IPv6 address in the canocical form.
# Expands an IPv6 address in the canonical form.
#
# ```
# IPAddress::IPv6.expand "2001:0DB8:0:CD30::"
Expand Down

0 comments on commit 267fd5a

Please sign in to comment.