We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b61fdde commit f266f12Copy full SHA for f266f12
src/libstd/net/parser.rs
@@ -342,12 +342,14 @@ impl FromStr for SocketAddr {
342
#[derive(Debug, Clone, PartialEq)]
343
pub struct AddrParseError(());
344
345
+#[stable(feature = "addr_parse_error_error", since = "1.4.0")]
346
impl fmt::Display for AddrParseError {
347
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
348
fmt.write_str(self.description())
349
}
350
351
352
353
impl Error for AddrParseError {
354
fn description(&self) -> &str {
355
"invalid IP address syntax"
0 commit comments