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 743c394 commit b8e1a95Copy full SHA for b8e1a95
src/lib.rs
@@ -252,6 +252,13 @@ impl Url {
252
/// # }
253
/// # run().unwrap();
254
/// ```
255
+ ///
256
+ /// # Errors
257
258
+ /// If the function can not parse an absolute URL from the given string,
259
+ /// a [`ParseError`] variant will be returned.
260
261
+ /// [`ParseError`]: enum.ParseError.html
262
#[inline]
263
pub fn parse(input: &str) -> Result<Url, ::ParseError> {
264
Url::options().parse(input)
0 commit comments