summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/CONTRIBUTING.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/CONTRIBUTING.md')
-rw-r--r--src/tools/clippy/CONTRIBUTING.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/tools/clippy/CONTRIBUTING.md b/src/tools/clippy/CONTRIBUTING.md
index 04af1b98b..b1a59238c 100644
--- a/src/tools/clippy/CONTRIBUTING.md
+++ b/src/tools/clippy/CONTRIBUTING.md
@@ -146,16 +146,10 @@ For example, the [`else_if_without_else`][else_if_without_else] lint is register
pub mod else_if_without_else;
// ...
-pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf: &Conf) {
+pub fn register_lints(store: &mut rustc_lint::LintStore, conf: &'static Conf) {
// ...
store.register_early_pass(|| Box::new(else_if_without_else::ElseIfWithoutElse));
// ...
-
- store.register_group(true, "clippy::restriction", Some("clippy_restriction"), vec![
- // ...
- LintId::of(&else_if_without_else::ELSE_IF_WITHOUT_ELSE),
- // ...
- ]);
}
```