diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-11-22 04:40:09 +0100 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2018-11-22 04:40:09 +0100 |
| commit | f5929e07977215d2c5d94ae5bda30b38dae21b86 (patch) | |
| tree | 7bd269bc116c43457a62ff9b4cffda0ffa668c84 /clippy_dev/src | |
| parent | 1d5108c264bef944c435d4184dfdeb048e6acc2e (diff) | |
| download | rust-f5929e07977215d2c5d94ae5bda30b38dae21b86.tar.gz rust-f5929e07977215d2c5d94ae5bda30b38dae21b86.zip | |
rust-lang-nursery/rust-clippy => rust-lang/rust-clippy
Diffstat (limited to 'clippy_dev/src')
| -rw-r--r-- | clippy_dev/src/lib.rs | 2 | ||||
| -rw-r--r-- | clippy_dev/src/main.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs index 5e1a454195e..2dd04371c9b 100644 --- a/clippy_dev/src/lib.rs +++ b/clippy_dev/src/lib.rs @@ -32,7 +32,7 @@ lazy_static! { "(?P<desc>(?:[^"\\]+|\\(?s).(?-s))*)"\s*[})] "#).unwrap(); static ref NL_ESCAPE_RE: Regex = Regex::new(r#"\\\n\s*"#).unwrap(); - pub static ref DOCS_LINK: String = "https://rust-lang-nursery.github.io/rust-clippy/master/index.html".to_string(); + pub static ref DOCS_LINK: String = "https://rust-lang.github.io/rust-clippy/master/index.html".to_string(); } /// Lint data parsed from the Clippy source code. diff --git a/clippy_dev/src/main.rs b/clippy_dev/src/main.rs index bfd98968c42..0e82f6e0939 100644 --- a/clippy_dev/src/main.rs +++ b/clippy_dev/src/main.rs @@ -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", lint_count) + format!("[There are {} lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)", lint_count) ] } ).changed; |
