Skip to content

Commit 1e11793

Browse files
Remove unnecessary imports from documentation
1 parent 6b4cae1 commit 1e11793

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ It's worth noting that the majority of `clippy_lints/src/lib.rs` is autogenerate
110110
```rust
111111
// ./clippy_lints/src/else_if_without_else.rs
112112

113-
use rustc::lint::{EarlyLintPass, LintArray, LintPass};
113+
use rustc_lint::{EarlyLintPass, EarlyContext};
114114

115115
// ...
116116

doc/adding_lints.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ at `clippy_lints/src/foo_functions.rs`. That's the crate where all the
138138
lint code is. This file has already imported some initial things we will need:
139139

140140
```rust
141-
use rustc::lint::{LintArray, LintPass, EarlyLintPass, EarlyContext};
141+
use rustc_lint::{EarlyLintPass, EarlyContext};
142142
use rustc_session::{declare_lint_pass, declare_tool_lint};
143143
use syntax::ast::*;
144144
```

0 commit comments

Comments
 (0)