Use HTTPS for clippy lint JSON

This commit is contained in:
Laurențiu Nicola 2021-06-07 10:40:12 +03:00
parent efa84cd08d
commit 993c7a165e

View file

@ -27,7 +27,7 @@ pub(crate) fn generate_lint_completions() -> Result<()> {
generate_feature_descriptor(&mut contents, "./target/rust/src/doc/unstable-book/src".into())?;
contents.push('\n');
cmd!("curl http://rust-lang.github.io/rust-clippy/master/lints.json --output ./target/clippy_lints.json").run()?;
cmd!("curl https://rust-lang.github.io/rust-clippy/master/lints.json --output ./target/clippy_lints.json").run()?;
generate_descriptor_clippy(&mut contents, &Path::new("./target/clippy_lints.json"))?;
let contents = reformat(&contents)?;