Skip to content

Commit f266f12

Browse files
committed
Add stability markers for new impls
1 parent b61fdde commit f266f12

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/net/parser.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,14 @@ impl FromStr for SocketAddr {
342342
#[derive(Debug, Clone, PartialEq)]
343343
pub struct AddrParseError(());
344344

345+
#[stable(feature = "addr_parse_error_error", since = "1.4.0")]
345346
impl fmt::Display for AddrParseError {
346347
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
347348
fmt.write_str(self.description())
348349
}
349350
}
350351

352+
#[stable(feature = "addr_parse_error_error", since = "1.4.0")]
351353
impl Error for AddrParseError {
352354
fn description(&self) -> &str {
353355
"invalid IP address syntax"

0 commit comments

Comments
 (0)