diff options
author | Laurențiu Nicola <[email protected]> | 2021-06-07 08:40:12 +0100 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2021-06-07 08:40:12 +0100 |
commit | 993c7a165e6c361b69a1a4c8349e17ff02d6e680 (patch) | |
tree | 0b423900dd0f34c3ae42ba51a5fc877c9666d426 | |
parent | efa84cd08d9e4d1d464ffc6832a1d1b1c85aed23 (diff) |
Use HTTPS for clippy lint JSON
-rw-r--r-- | xtask/src/codegen/gen_lint_completions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/gen_lint_completions.rs b/xtask/src/codegen/gen_lint_completions.rs index 7d78d0d04..3b54b2489 100644 --- a/xtask/src/codegen/gen_lint_completions.rs +++ b/xtask/src/codegen/gen_lint_completions.rs | |||
@@ -27,7 +27,7 @@ pub(crate) fn generate_lint_completions() -> Result<()> { | |||
27 | generate_feature_descriptor(&mut contents, "./target/rust/src/doc/unstable-book/src".into())?; | 27 | generate_feature_descriptor(&mut contents, "./target/rust/src/doc/unstable-book/src".into())?; |
28 | contents.push('\n'); | 28 | contents.push('\n'); |
29 | 29 | ||
30 | cmd!("curl http://rust-lang.github.io/rust-clippy/master/lints.json --output ./target/clippy_lints.json").run()?; | 30 | cmd!("curl https://rust-lang.github.io/rust-clippy/master/lints.json --output ./target/clippy_lints.json").run()?; |
31 | generate_descriptor_clippy(&mut contents, &Path::new("./target/clippy_lints.json"))?; | 31 | generate_descriptor_clippy(&mut contents, &Path::new("./target/clippy_lints.json"))?; |
32 | let contents = reformat(&contents)?; | 32 | let contents = reformat(&contents)?; |
33 | 33 | ||