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 a73e755 commit a4422a9Copy full SHA for a4422a9
url/src/lib.rs
@@ -1321,7 +1321,6 @@ impl Url {
1321
// > This RFC proposes that *all* type parameters are considered in scope
1322
// > for `impl Trait` in return position
1323
1324
- // TODO: Return custom error type to support no_std
1325
fn io_result<T>(opt: Option<T>, message: &str) -> io::Result<T> {
1326
opt.ok_or_else(|| io::Error::new(io::ErrorKind::InvalidData, message))
1327
}
0 commit comments