diff options
| author | Steven Fackler <sfackler@gmail.com> | 2015-08-24 08:59:45 -0700 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2015-08-24 08:59:45 -0700 |
| commit | f266f12f3066c02cfef6116202e624443f919dff (patch) | |
| tree | 03b968fc7f17da9051150fdb13386c84223770c7 /src/libstd/net/parser.rs | |
| parent | b61fddebb09f33c52cf97f66c797f8d5401096ec (diff) | |
| download | rust-f266f12f3066c02cfef6116202e624443f919dff.tar.gz rust-f266f12f3066c02cfef6116202e624443f919dff.zip | |
Add stability markers for new impls
Diffstat (limited to 'src/libstd/net/parser.rs')
| -rw-r--r-- | src/libstd/net/parser.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/net/parser.rs b/src/libstd/net/parser.rs index da6ee8cfdcf..480fd63c36a 100644 --- a/src/libstd/net/parser.rs +++ b/src/libstd/net/parser.rs @@ -342,12 +342,14 @@ impl FromStr for SocketAddr { #[derive(Debug, Clone, PartialEq)] pub struct AddrParseError(()); +#[stable(feature = "addr_parse_error_error", since = "1.4.0")] impl fmt::Display for AddrParseError { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { fmt.write_str(self.description()) } } +#[stable(feature = "addr_parse_error_error", since = "1.4.0")] impl Error for AddrParseError { fn description(&self) -> &str { "invalid IP address syntax" |
