PR #37 #51
codeql
on: dynamic
Matrix: Analyze
Annotations
2 warnings
Analyze (javascript)
Failed to restore: Cache service responded with 403
|
unnecessary hashes around raw string literal:
src/utils/mod.rs#L5
warning: unnecessary hashes around raw string literal
--> src/utils/mod.rs:5:29
|
5 | const URL_REGEX: &str = r#"^http[s]?://(?P<host>[^:/\s]+)(((/\w+)*/))?(.*)$"#;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
= note: `#[warn(clippy::needless_raw_string_hashes)]` on by default
help: remove all the hashes around the literal
|
5 - const URL_REGEX: &str = r#"^http[s]?://(?P<host>[^:/\s]+)(((/\w+)*/))?(.*)$"#;
5 + const URL_REGEX: &str = r"^http[s]?://(?P<host>[^:/\s]+)(((/\w+)*/))?(.*)$";
|
|