Files
rust/library/std/src
Dylan DPC 01d4731735 Rollup merge of #96168 - chris-morgan:AddrParseError-description-improvements, r=joshtriplett
Improve AddrParseError description

The existing description was incorrect for socket addresses, and misleading: users would see “invalid IP address syntax” and suppose they were supposed to provide an IP address rather than a socket address.

I contemplated making it two variants (IP, socket), but realised we can do still better for the IPv4 and IPv6 types, so here it is as six.

I contemplated more precise error descriptions (e.g. “invalid IPv6 socket address syntax: expected a decimal scope ID after %”), but that’s a more invasive change, and probably not worthwhile anyway.
2022-04-20 18:26:04 +02:00
..
2021-10-25 22:44:41 -05:00
2022-04-07 08:51:59 +01:00
2022-04-19 13:02:20 +10:00
2022-04-05 23:18:40 +02:00
2022-04-05 23:18:40 +02:00
2022-04-05 23:18:40 +02:00