rust-lang-nursery/rust-clippy => rust-lang/rust-clippy

This commit is contained in:
Matthias Krüger
2018-11-22 04:40:09 +01:00
parent 1d5108c264
commit f5929e0797
30 changed files with 51 additions and 52 deletions

View File

@@ -82,13 +82,13 @@ fn update_lints(update_mode: &UpdateMode) {
let mut file_change = replace_region_in_file(
"../README.md",
r#"\[There are \d+ lints included in this crate!\]\(https://rust-lang-nursery.github.io/rust-clippy/master/index.html\)"#,
r#"\[There are \d+ lints included in this crate!\]\(https://rust-lang.github.io/rust-clippy/master/index.html\)"#,
"",
true,
update_mode == &UpdateMode::Change,
|| {
vec![
format!("[There are {} lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)", lint_count)
format!("[There are {} lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)", lint_count)
]
}
).changed;