fix: parse ipath-abempty from RFC 3987 #269
GitHub Actions / clippy
failed
Jul 23, 2024 in 0s
clippy
4 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 4 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.2 (25ef9e3d8 2024-04-09)
- cargo 1.77.2 (e52e36006 2024-03-26)
- clippy 0.1.77 (25ef9e3 2024-04-09)
Annotations
Check failure on line 359 in src/parser/link_url/parse_link.rs
github-actions / clippy
used `unwrap()` on a `Result` value
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
Check failure on line 358 in src/parser/link_url/parse_link.rs
github-actions / clippy
used `unwrap()` on a `Result` value
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
Check failure on line 357 in src/parser/link_url/parse_link.rs
github-actions / clippy
used `unwrap()` on a `Result` value
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
Check failure on line 342 in src/parser/link_url/parse_link.rs
github-actions / clippy
used `unwrap()` on a `Result` value
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,
| ^^^^^^^^^^^^^^^^^^^
Loading