Remove forward trait declaration from std::net::ip

This is no longer needed now that the Ruby compiler defines types in
multiple passes.
parent 679ccf7b
......@@ -63,15 +63,13 @@ impl Error for AddressParseError {
# An IPv4 or IPv6 address.
trait IpAddress {}
# A type that can be converted to an `IpAddress`.
trait ToIpAddress {
# Converts `self` to an IPv4 or IPv6 address.
def to_ip_address !! AddressParseError -> IpAddress
# An IPv4 or IPv6 address.
trait IpAddress: Equal + ToString + ToIpAddress {
# Parses an IP address.
static def parse(input: ToByteArray) !! AddressParseError -> Self
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment