read_dir #422
GitHub Actions / beta
succeeded
Nov 12, 2023 in 0s
beta
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.0-beta.7 (22d4a4ff1 2023-11-10)
- cargo 1.74.0-beta.7 (ecb9851af 2023-10-18)
- clippy 0.1.74 (22d4a4f 2023-11-10)
Annotations
Check warning on line 213 in bin/src/commands/launch.rs
github-actions / beta
docs for function which may panic missing `# Panics` section
warning: docs for function which may panic missing `# Panics` section
--> bin/src/commands/launch.rs:213:1
|
213 | pub fn read_preset(name: &str, html: &str) -> (Vec<String>, Vec<DLC>) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> bin/src/commands/launch.rs:216:21
|
216 | let mod_regex = Regex::new(
| _____________________^
217 | | r#"(?m)href="https?:\/\/steamcommunity\.com\/sharedfiles\/filedetails\/\?id=(\d+)""#,
218 | | )
219 | | .unwrap();
| |_____________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
Check warning on line 47 in bin/src/commands/launch.rs
github-actions / beta
docs for function which may panic missing `# Panics` section
warning: docs for function which may panic missing `# Panics` section
--> bin/src/commands/launch.rs:47:1
|
47 | pub fn execute(matches: &ArgMatches) -> Result<(), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> bin/src/commands/launch.rs:88:21
|
88 | let regex = Regex::new(r"publishedid\s*=\s*(\d+);").unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
note: the lint level is defined here
--> bin/src/lib.rs:2:9
|
2 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
Loading