]> git.proxmox.com Git - rustc.git/blobdiff - src/libstd/net/parser.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / libstd / net / parser.rs
index 5851ce7135d2745c08faf78a6c990029db2fdbba..ed4af471f2f56ce1d621d5f7bd50209259b820f0 100644 (file)
@@ -13,8 +13,6 @@
 //! This module is "publicly exported" through the `FromStr` implementations
 //! below.
 
-use prelude::v1::*;
-
 use error::Error;
 use fmt;
 use net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6};
@@ -372,7 +370,7 @@ impl FromStr for SocketAddr {
 
 /// An error returned when parsing an IP address or a socket address.
 #[stable(feature = "rust1", since = "1.0.0")]
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Debug, Clone, PartialEq, Eq)]
 pub struct AddrParseError(());
 
 #[stable(feature = "addr_parse_error_error", since = "1.4.0")]