From f5929e07977215d2c5d94ae5bda30b38dae21b86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 22 Nov 2018 04:40:09 +0100 Subject: [PATCH] rust-lang-nursery/rust-clippy => rust-lang/rust-clippy --- .travis.yml | 6 +++--- CONTRIBUTING.md | 22 +++++++++++----------- Cargo.toml | 6 +++--- README.md | 8 ++++---- clippy_dev/src/lib.rs | 2 +- clippy_dev/src/main.rs | 4 ++-- clippy_dummy/Cargo.toml | 2 +- clippy_dummy/crates-readme.md | 2 +- clippy_lints/Cargo.toml | 2 +- clippy_lints/README.md | 2 +- clippy_lints/src/attrs.rs | 3 +-- clippy_lints/src/cargo_common_metadata.rs | 2 +- clippy_lints/src/copies.rs | 2 +- clippy_lints/src/eta_reduction.rs | 2 +- clippy_lints/src/types.rs | 2 +- clippy_lints/src/utils/mod.rs | 2 +- mini-macro/Cargo.toml | 2 +- tests/run-pass/ice-1782.rs | 2 +- tests/run-pass/ice-2499.rs | 2 +- tests/run-pass/ice-2594.rs | 2 +- tests/run-pass/ice-2760.rs | 2 +- tests/run-pass/ice-2774.rs | 2 +- tests/run-pass/issues_loop_mut_cond.rs | 6 +++--- tests/ui/booleans.rs | 2 +- tests/ui/collapsible_if.rs | 2 +- tests/ui/doc.rs | 4 ++-- tests/ui/module_inception.rs | 2 +- tests/ui/single_char_pattern.rs | 2 +- util/gh-pages/index.html | 2 +- util/gh-pages/versions.html | 2 +- 30 files changed, 51 insertions(+), 52 deletions(-) diff --git a/.travis.yml b/.travis.yml index 50967e4b906..af209ca96d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,14 +52,14 @@ matrix: - os: windows env: BASE_TEST=true - env: INTEGRATION=rust-lang/cargo - - env: INTEGRATION=rust-lang-nursery/rand + - env: INTEGRATION=rust-random/rand - env: INTEGRATION=rust-lang-nursery/stdsimd - - env: INTEGRATION=rust-lang-nursery/rustfmt + - env: INTEGRATION=rust-lang/rustfmt - env: INTEGRATION=rust-lang-nursery/futures-rs - env: INTEGRATION=rust-lang-nursery/failure - env: INTEGRATION=rust-lang-nursery/log - env: INTEGRATION=rust-lang-nursery/chalk - - env: INTEGRATION=rust-lang-nursery/rls + - env: INTEGRATION=rust-lang/rls - env: INTEGRATION=chronotope/chrono - env: INTEGRATION=serde-rs/serde - env: INTEGRATION=Geal/nom diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bb0da592851..5bc9e99a28f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -35,27 +35,27 @@ High level approach: All issues on Clippy are mentored, if you want help with a bug just ask @Manishearth, @llogiq, @mcarton or @oli-obk. -Some issues are easier than others. The [`good first issue`](https://github.com/rust-lang-nursery/rust-clippy/labels/good%20first%20issue) +Some issues are easier than others. The [`good first issue`](https://github.com/rust-lang/rust-clippy/labels/good%20first%20issue) label can be used to find the easy issues. If you want to work on an issue, please leave a comment so that we can assign it to you! -Issues marked [`T-AST`](https://github.com/rust-lang-nursery/rust-clippy/labels/T-AST) involve simple +Issues marked [`T-AST`](https://github.com/rust-lang/rust-clippy/labels/T-AST) involve simple matching of the syntax tree structure, and are generally easier than -[`T-middle`](https://github.com/rust-lang-nursery/rust-clippy/labels/T-middle) issues, which involve types +[`T-middle`](https://github.com/rust-lang/rust-clippy/labels/T-middle) issues, which involve types and resolved paths. -[`T-AST`](https://github.com/rust-lang-nursery/rust-clippy/labels/T-AST) issues will generally need you to match against a predefined syntax structure. To figure out +[`T-AST`](https://github.com/rust-lang/rust-clippy/labels/T-AST) issues will generally need you to match against a predefined syntax structure. To figure out how this syntax structure is encoded in the AST, it is recommended to run `rustc -Z ast-json` on an example of the structure and compare with the [nodes in the AST docs](https://doc.rust-lang.org/nightly/nightly-rustc/syntax/ast). Usually the lint will end up to be a nested series of matches and ifs, -[like so](https://github.com/rust-lang-nursery/rust-clippy/blob/de5ccdfab68a5e37689f3c950ed1532ba9d652a0/src/misc.rs#L34). +[like so](https://github.com/rust-lang/rust-clippy/blob/de5ccdfab68a5e37689f3c950ed1532ba9d652a0/src/misc.rs#L34). -[`E-medium`](https://github.com/rust-lang-nursery/rust-clippy/labels/E-medium) issues are generally +[`E-medium`](https://github.com/rust-lang/rust-clippy/labels/E-medium) issues are generally pretty easy too, though it's recommended you work on an E-easy issue first. They are mostly classified as `E-medium`, since they might be somewhat involved code wise, but not difficult per-se. -[`T-middle`](https://github.com/rust-lang-nursery/rust-clippy/labels/T-middle) issues can +[`T-middle`](https://github.com/rust-lang/rust-clippy/labels/T-middle) issues can be more involved and require verifying types. The [`ty`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty) module contains a lot of methods that are useful, though one of the most useful would be `expr_ty` (gives the type of @@ -249,10 +249,10 @@ All code in this repository is under the [Mozilla Public License, 2.0](https://w -[main_entry]: https://github.com/rust-lang-nursery/rust-clippy/blob/c5b39a5917ffc0f1349b6e414fa3b874fdcf8429/src/lib.rs#L14 -[lint_crate]: https://github.com/rust-lang-nursery/rust-clippy/tree/c5b39a5917ffc0f1349b6e414fa3b874fdcf8429/clippy_lints/src -[lint_crate_entry]: https://github.com/rust-lang-nursery/rust-clippy/blob/c5b39a5917ffc0f1349b6e414fa3b874fdcf8429/clippy_lints/src/lib.rs -[else_if_without_else]: https://github.com/rust-lang-nursery/rust-clippy/blob/c5b39a5917ffc0f1349b6e414fa3b874fdcf8429/clippy_lints/src/else_if_without_else.rs +[main_entry]: https://github.com/rust-lang/rust-clippy/blob/c5b39a5917ffc0f1349b6e414fa3b874fdcf8429/src/lib.rs#L14 +[lint_crate]: https://github.com/rust-lang/rust-clippy/tree/c5b39a5917ffc0f1349b6e414fa3b874fdcf8429/clippy_lints/src +[lint_crate_entry]: https://github.com/rust-lang/rust-clippy/blob/c5b39a5917ffc0f1349b6e414fa3b874fdcf8429/clippy_lints/src/lib.rs +[else_if_without_else]: https://github.com/rust-lang/rust-clippy/blob/c5b39a5917ffc0f1349b6e414fa3b874fdcf8429/clippy_lints/src/else_if_without_else.rs [compiler_plugin]: https://doc.rust-lang.org/unstable-book/language-features/plugin.html#lint-plugins [plugin_registry]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_plugin/registry/struct.Registry.html [reg_early_lint_pass]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_plugin/registry/struct.Registry.html#method.register_early_lint_pass diff --git a/Cargo.toml b/Cargo.toml index 0a1f3dabb93..359a6e43bdb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ authors = [ "Oliver Schneider " ] description = "A bunch of helpful lints to avoid common pitfalls in Rust" -repository = "https://github.com/rust-lang-nursery/rust-clippy" +repository = "https://github.com/rust-lang/rust-clippy" readme = "README.md" license = "MIT/Apache-2.0" keywords = ["clippy", "lint", "plugin"] @@ -19,8 +19,8 @@ edition = "2018" publish = false [badges] -travis-ci = { repository = "rust-lang-nursery/rust-clippy" } -appveyor = { repository = "rust-lang-nursery/rust-clippy" } +travis-ci = { repository = "rust-lang/rust-clippy" } +appveyor = { repository = "rust-lang/rust-clippy" } [lib] name = "clippy" diff --git a/README.md b/README.md index 47db3a358e3..68bca8896de 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,14 @@ We are currently in the process of discussing Clippy 1.0 via the RFC process in # Clippy -[![Build Status](https://travis-ci.org/rust-lang-nursery/rust-clippy.svg?branch=master)](https://travis-ci.org/rust-lang-nursery/rust-clippy) +[![Build Status](https://travis-ci.org/rust-lang/rust-clippy.svg?branch=master)](https://travis-ci.org/rust-lang/rust-clippy) [![Windows Build status](https://ci.appveyor.com/api/projects/status/id677xpw1dguo7iw?svg=true)](https://ci.appveyor.com/project/rust-lang-libs/rust-clippy) [![Current Version](https://meritbadge.herokuapp.com/clippy)](https://crates.io/crates/clippy) [![License: MIT/Apache-2.0](https://img.shields.io/crates/l/clippy.svg)](#license) A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code. -[There are 288 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html) +[There are 288 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html) We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you: @@ -22,7 +22,7 @@ We have a bunch of lint categories to allow you to choose how much Clippy is sup * `clippy::cargo` (checks against the cargo manifest) * **`clippy::correctness`** (code that is just outright wrong or very very useless) -More to come, please [file an issue](https://github.com/rust-lang-nursery/rust-clippy/issues) if you have ideas! +More to come, please [file an issue](https://github.com/rust-lang/rust-clippy/issues) if you have ideas! Only the following of those categories are enabled by default: @@ -84,7 +84,7 @@ in your code, you can use: cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml ``` -*[Note](https://github.com/rust-lang-nursery/rust-clippy/wiki#a-word-of-warning):* +*[Note](https://github.com/rust-lang/rust-clippy/wiki#a-word-of-warning):* Be sure that Clippy was compiled with the same version of rustc that cargo invokes here! ### Travis CI 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(?:[^"\\]+|\\(?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![ - 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; diff --git a/clippy_dummy/Cargo.toml b/clippy_dummy/Cargo.toml index ed97cc45725..f99a23d93d0 100644 --- a/clippy_dummy/Cargo.toml +++ b/clippy_dummy/Cargo.toml @@ -7,7 +7,7 @@ readme = "crates-readme.md" description = "A bunch of helpful lints to avoid common pitfalls in Rust." build = 'build.rs' -repository = "https://github.com/rust-lang-nursery/rust-clippy" +repository = "https://github.com/rust-lang/rust-clippy" license = "MIT/Apache-2.0" keywords = ["clippy", "lint", "plugin"] diff --git a/clippy_dummy/crates-readme.md b/clippy_dummy/crates-readme.md index 0035073549c..4f4f4991ed4 100644 --- a/clippy_dummy/crates-readme.md +++ b/clippy_dummy/crates-readme.md @@ -6,4 +6,4 @@ rustup component add clippy-preview on a Rust version 1.29 or later. You may need to run `rustup self update` if it complains about a missing clippy binary. -See [the homepage](https://github.com/rust-lang-nursery/rust-clippy/#clippy) for more information \ No newline at end of file +See [the homepage](https://github.com/rust-lang/rust-clippy/#clippy) for more information diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index fa1b22784bd..f8f83152386 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -10,7 +10,7 @@ authors = [ "Martin Carton " ] description = "A bunch of helpful lints to avoid common pitfalls in Rust" -repository = "https://github.com/rust-lang-nursery/rust-clippy" +repository = "https://github.com/rust-lang/rust-clippy" readme = "README.md" license = "MPL-2.0" keywords = ["clippy", "lint", "plugin"] diff --git a/clippy_lints/README.md b/clippy_lints/README.md index 2fa5b0ae3e4..2724aa6a052 100644 --- a/clippy_lints/README.md +++ b/clippy_lints/README.md @@ -1,3 +1,3 @@ This crate contains Clippy lints. For the main crate, check [*crates.io*](https://crates.io/crates/clippy) or -[GitHub](https://github.com/rust-lang-nursery/rust-clippy). +[GitHub](https://github.com/rust-lang/rust-clippy). diff --git a/clippy_lints/src/attrs.rs b/clippy_lints/src/attrs.rs index 593484aa1c6..58af069f1d9 100644 --- a/clippy_lints/src/attrs.rs +++ b/clippy_lints/src/attrs.rs @@ -177,7 +177,7 @@ declare_clippy_lint! { /// /// **Known problems:** This lint doesn't detect crate level inner attributes, because they get /// processed before the PreExpansionPass lints get executed. See -/// [#3123](https://github.com/rust-lang-nursery/rust-clippy/pull/3123#issuecomment-422321765) +/// [#3123](https://github.com/rust-lang/rust-clippy/pull/3123#issuecomment-422321765) /// /// **Example:** /// @@ -537,4 +537,3 @@ impl EarlyLintPass for CfgAttrPass { } } } - diff --git a/clippy_lints/src/cargo_common_metadata.rs b/clippy_lints/src/cargo_common_metadata.rs index 1a053de27d1..c39c05c789b 100644 --- a/clippy_lints/src/cargo_common_metadata.rs +++ b/clippy_lints/src/cargo_common_metadata.rs @@ -31,7 +31,7 @@ use cargo_metadata; /// name = "clippy" /// version = "0.0.212" /// description = "A bunch of helpful lints to avoid common pitfalls in Rust" -/// repository = "https://github.com/rust-lang-nursery/rust-clippy" +/// repository = "https://github.com/rust-lang/rust-clippy" /// readme = "README.md" /// license = "MIT/Apache-2.0" /// keywords = ["clippy", "lint", "plugin"] diff --git a/clippy_lints/src/copies.rs b/clippy_lints/src/copies.rs index ac73dc1f5d5..c69173ac269 100644 --- a/clippy_lints/src/copies.rs +++ b/clippy_lints/src/copies.rs @@ -80,7 +80,7 @@ declare_clippy_lint! { /// /// **Known problems:** False positive possible with order dependent `match` /// (see issue -/// [#860](https://github.com/rust-lang-nursery/rust-clippy/issues/860)). +/// [#860](https://github.com/rust-lang/rust-clippy/issues/860)). /// /// **Example:** /// ```rust,ignore diff --git a/clippy_lints/src/eta_reduction.rs b/clippy_lints/src/eta_reduction.rs index 95191b471a8..644c7fb3821 100644 --- a/clippy_lints/src/eta_reduction.rs +++ b/clippy_lints/src/eta_reduction.rs @@ -28,7 +28,7 @@ pub struct EtaPass; /// **Known problems:** If creating the closure inside the closure has a side- /// effect then moving the closure creation out will change when that side- /// effect runs. -/// See https://github.com/rust-lang-nursery/rust-clippy/issues/1439 for more +/// See https://github.com/rust-lang/rust-clippy/issues/1439 for more /// details. /// /// **Example:** diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index c9068be838f..e5e3138acf6 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -1532,7 +1532,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AbsurdExtremeComparisons { /// `u8`. /// /// **Known problems:** -/// https://github.com/rust-lang-nursery/rust-clippy/issues/886 +/// https://github.com/rust-lang/rust-clippy/issues/886 /// /// **Example:** /// ```rust diff --git a/clippy_lints/src/utils/mod.rs b/clippy_lints/src/utils/mod.rs index ad91acbcbfd..f7fbd5edb52 100644 --- a/clippy_lints/src/utils/mod.rs +++ b/clippy_lints/src/utils/mod.rs @@ -539,7 +539,7 @@ impl<'a> DiagnosticWrapper<'a> { fn docs_link(&mut self, lint: &'static Lint) { if env::var("CLIPPY_DISABLE_DOCS_LINKS").is_err() { self.0.help(&format!( - "for further information visit https://rust-lang-nursery.github.io/rust-clippy/v{}/index.html#{}", + "for further information visit https://rust-lang.github.io/rust-clippy/v{}/index.html#{}", env!("CARGO_PKG_VERSION"), lint.name_lower().replacen("clippy::", "", 1) )); diff --git a/mini-macro/Cargo.toml b/mini-macro/Cargo.toml index ac3272030ba..2cdba4c3236 100644 --- a/mini-macro/Cargo.toml +++ b/mini-macro/Cargo.toml @@ -10,7 +10,7 @@ authors = [ ] license = "MPL-2.0" description = "A macro to test clippy's procedural macro checks" -repository = "https://github.com/rust-lang-nursery/rust-clippy" +repository = "https://github.com/rust-lang/rust-clippy" [lib] name = "clippy_mini_macro_test" diff --git a/tests/run-pass/ice-1782.rs b/tests/run-pass/ice-1782.rs index 2101b4d3037..446aaacb2ee 100644 --- a/tests/run-pass/ice-1782.rs +++ b/tests/run-pass/ice-1782.rs @@ -12,7 +12,7 @@ /// Should not trigger an ICE in `SpanlessEq` / `consts::constant` /// -/// Issue: https://github.com/rust-lang-nursery/rust-clippy/issues/1782 +/// Issue: https://github.com/rust-lang/rust-clippy/issues/1782 use std::{mem, ptr}; diff --git a/tests/run-pass/ice-2499.rs b/tests/run-pass/ice-2499.rs index 1a973d737ba..30e8fa657f2 100644 --- a/tests/run-pass/ice-2499.rs +++ b/tests/run-pass/ice-2499.rs @@ -14,7 +14,7 @@ /// Should not trigger an ICE in `SpanlessHash` / `consts::constant` /// -/// Issue: https://github.com/rust-lang-nursery/rust-clippy/issues/2499 +/// Issue: https://github.com/rust-lang/rust-clippy/issues/2499 fn f(s: &[u8]) -> bool { let t = s[0] as char; diff --git a/tests/run-pass/ice-2594.rs b/tests/run-pass/ice-2594.rs index 8bd77e3d6f0..738636b5e40 100644 --- a/tests/run-pass/ice-2594.rs +++ b/tests/run-pass/ice-2594.rs @@ -12,7 +12,7 @@ /// Should not trigger an ICE in `SpanlessHash` / `consts::constant` /// -/// Issue: https://github.com/rust-lang-nursery/rust-clippy/issues/2594 +/// Issue: https://github.com/rust-lang/rust-clippy/issues/2594 fn spanless_hash_ice() { let txt = "something"; diff --git a/tests/run-pass/ice-2760.rs b/tests/run-pass/ice-2760.rs index 7a83094ea76..fe7138b7f28 100644 --- a/tests/run-pass/ice-2760.rs +++ b/tests/run-pass/ice-2760.rs @@ -17,7 +17,7 @@ // // error[E0277]: the trait bound `T: Foo` is not satisfied // -// See https://github.com/rust-lang-nursery/rust-clippy/issues/2760 +// See https://github.com/rust-lang/rust-clippy/issues/2760 trait Foo { type Bar; diff --git a/tests/run-pass/ice-2774.rs b/tests/run-pass/ice-2774.rs index 67a77340d91..9959ec46d24 100644 --- a/tests/run-pass/ice-2774.rs +++ b/tests/run-pass/ice-2774.rs @@ -12,7 +12,7 @@ use std::collections::HashSet; -// See https://github.com/rust-lang-nursery/rust-clippy/issues/2774 +// See https://github.com/rust-lang/rust-clippy/issues/2774 #[derive(Eq, PartialEq, Debug, Hash)] pub struct Bar { diff --git a/tests/run-pass/issues_loop_mut_cond.rs b/tests/run-pass/issues_loop_mut_cond.rs index c3deae9bafd..893866a2a34 100644 --- a/tests/run-pass/issues_loop_mut_cond.rs +++ b/tests/run-pass/issues_loop_mut_cond.rs @@ -10,14 +10,14 @@ #![allow(dead_code)] -/// Issue: https://github.com/rust-lang-nursery/rust-clippy/issues/2596 +/// Issue: https://github.com/rust-lang/rust-clippy/issues/2596 pub fn loop_on_block_condition(u: &mut isize) { while { *u < 0 } { *u += 1; } } -/// https://github.com/rust-lang-nursery/rust-clippy/issues/2584 +/// https://github.com/rust-lang/rust-clippy/issues/2584 fn loop_with_unsafe_condition(ptr: *const u8) { let mut len = 0; while unsafe { *ptr.offset(len) } != 0 { @@ -25,7 +25,7 @@ fn loop_with_unsafe_condition(ptr: *const u8) { } } -/// https://github.com/rust-lang-nursery/rust-clippy/issues/2710 +/// https://github.com/rust-lang/rust-clippy/issues/2710 static mut RUNNING: bool = true; fn loop_on_static_condition() { unsafe { diff --git a/tests/ui/booleans.rs b/tests/ui/booleans.rs index 962f03dc9cd..e63b6a75e8f 100644 --- a/tests/ui/booleans.rs +++ b/tests/ui/booleans.rs @@ -68,7 +68,7 @@ fn methods_with_negation() { let _ = !c ^ c || !a.is_some(); } -// Simplified versions of https://github.com/rust-lang-nursery/rust-clippy/issues/2638 +// Simplified versions of https://github.com/rust-lang/rust-clippy/issues/2638 // clippy::nonminimal_bool should only check the built-in Result and Some type, not // any other types like the following. enum CustomResultOk { Ok, Err(E) } diff --git a/tests/ui/collapsible_if.rs b/tests/ui/collapsible_if.rs index 1bc866010fd..a8ec13ab669 100644 --- a/tests/ui/collapsible_if.rs +++ b/tests/ui/collapsible_if.rs @@ -153,7 +153,7 @@ fn main() { } - // The following tests check for the fix of https://github.com/rust-lang-nursery/rust-clippy/issues/798 + // The following tests check for the fix of https://github.com/rust-lang/rust-clippy/issues/798 if x == "hello" {// Not collapsible if y == "world" { println!("Hello world!"); diff --git a/tests/ui/doc.rs b/tests/ui/doc.rs index 37f89de471f..d87142e9367 100644 --- a/tests/ui/doc.rs +++ b/tests/ui/doc.rs @@ -62,7 +62,7 @@ fn test_units() { } /// This test has [a link_with_underscores][chunked-example] inside it. See #823. -/// See also [the issue tracker](https://github.com/rust-lang-nursery/rust-clippy/search?q=clippy::doc_markdown&type=Issues) +/// See also [the issue tracker](https://github.com/rust-lang/rust-clippy/search?q=clippy::doc_markdown&type=Issues) /// on GitHub (which is a camel-cased word, but is OK). And here is another [inline link][inline_link]. /// It can also be [inline_link2]. /// @@ -154,7 +154,7 @@ fn four_quotes() { /// See [NIST SP 800-56A, revision 2]. /// /// [NIST SP 800-56A, revision 2]: -/// https://github.com/rust-lang-nursery/rust-clippy/issues/902#issuecomment-261919419 +/// https://github.com/rust-lang/rust-clippy/issues/902#issuecomment-261919419 fn issue_902_comment() {} #[cfg_attr(feature = "a", doc = " ```")] diff --git a/tests/ui/module_inception.rs b/tests/ui/module_inception.rs index 333a8efec32..0676c4c29f0 100644 --- a/tests/ui/module_inception.rs +++ b/tests/ui/module_inception.rs @@ -24,7 +24,7 @@ mod foo { } } -// No warning. See . +// No warning. See . mod bar { #[allow(clippy::module_inception)] mod bar { diff --git a/tests/ui/single_char_pattern.rs b/tests/ui/single_char_pattern.rs index 5e1231f1227..c3d846997ec 100644 --- a/tests/ui/single_char_pattern.rs +++ b/tests/ui/single_char_pattern.rs @@ -25,7 +25,7 @@ fn main() { // should have done this but produced an ICE // // We may not want to suggest changing these anyway - // See: https://github.com/rust-lang-nursery/rust-clippy/issues/650#issuecomment-184328984 + // See: https://github.com/rust-lang/rust-clippy/issues/650#issuecomment-184328984 x.split("ß"); x.split("ℝ"); x.split("💣"); diff --git a/util/gh-pages/index.html b/util/gh-pages/index.html index 277eeaf39f4..1a8495951a4 100644 --- a/util/gh-pages/index.html +++ b/util/gh-pages/index.html @@ -125,7 +125,7 @@ - + Fork me on Github diff --git a/util/gh-pages/versions.html b/util/gh-pages/versions.html index 5678ebec722..169d3fa16d2 100644 --- a/util/gh-pages/versions.html +++ b/util/gh-pages/versions.html @@ -43,7 +43,7 @@ - +