Closed
Description
Currently the Url type has an automatic TryFrom implementation returning core::convert::Infallible
.
It would be nice to have a TryFrom<&str> returning url::ParseError, so that programs can do
fn get<U: TryInto<Url>>(dest: U) -> Result<()> {
}
(TryInto<Url>
should be auto-implemented once there is TryFrom<&str>
)
Metadata
Metadata
Assignees
Labels
No labels