You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
It seems Rust's SocketAddr fails to parse "localhost:8888".
letmut groups = [0;4];for(i, slot)in groups.iter_mut().enumerate(){*slot = p.read_separator('.', i, |p| {// Disallow octal number in IP string.// https://tools.ietf.org/html/rfc6943#section-3.1.1
p.read_number(10,Some(3),false)})?;}Some(groups.into())
only accept ddd.ddd.ddd.ddd. Thus when Clap tries to parse the string into SocketAddr, it fails with the message above.
Behavior
Expected
Just works as
127.0.0.1:8888
Version
6c59de2
The text was updated successfully, but these errors were encountered: