fix: parse ipath-abempty from RFC 3987 #271
Annotations
4 errors and 2 warnings
used `unwrap()` on a `Result` value:
src/parser/link_url/parse_link.rs#L363
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:363:9
|
363 | parse_ipath_absolute("/foo//bar").unwrap(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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#L361
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:361:16
|
361 | 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#L360
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:360:16
|
360 | 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#L343
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:343:9
|
343 | parse_ipath_abempty("///foo/bar").unwrap(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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/
|