fix: parse ipath-abempty from RFC 3987 #269
Annotations
4 errors and 2 warnings
used `unwrap()` on a `Result` value:
src/parser/link_url/parse_link.rs#L359
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:359:16
|
359 | assert_eq!(parse_ipath_absolute("/foo//bar").unwrap(), ("", "/foo//bar"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
used `unwrap()` on a `Result` value:
src/parser/link_url/parse_link.rs#L358
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:358:16
|
358 | assert_eq!(parse_ipath_absolute("/foo/bar").unwrap(), ("", "/foo/bar"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
used `unwrap()` on a `Result` value:
src/parser/link_url/parse_link.rs#L357
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:357:16
|
357 | assert_eq!(parse_ipath_absolute("/foo").unwrap(), ("", "/foo"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
used `unwrap()` on a `Result` value:
src/parser/link_url/parse_link.rs#L342
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:342:16
|
342 | assert_eq!(parse_ipath_abempty("///foo/bar").unwrap(), ("", "///foo/bar"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
--> src/lib.rs:19:5
|
19 | clippy::unwrap_used,
| ^^^^^^^^^^^^^^^^^^^
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|