about summary refs log tree commit diff
path: root/doc/adding_lints.md
diff options
context:
space:
mode:
authorKrishna Sai Veera Reddy <veerareddy@email.arizona.edu>2020-02-10 19:37:25 -0800
committerKrishna Sai Veera Reddy <veerareddy@email.arizona.edu>2020-02-10 19:37:25 -0800
commit1e117938cf12e59eaac89482e611ee4d95e2a953 (patch)
tree181001ff5e8241c57264b00d1169007d39c8783e /doc/adding_lints.md
parent6b4cae18dde124dda30e53ade20b8d43315a6dc6 (diff)
downloadrust-1e117938cf12e59eaac89482e611ee4d95e2a953.tar.gz
rust-1e117938cf12e59eaac89482e611ee4d95e2a953.zip
Remove unnecessary imports from documentation
Diffstat (limited to 'doc/adding_lints.md')
-rw-r--r--doc/adding_lints.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/adding_lints.md b/doc/adding_lints.md
index 99178c2d75b..e1f4ce016c5 100644
--- a/doc/adding_lints.md
+++ b/doc/adding_lints.md
@@ -138,7 +138,7 @@ at `clippy_lints/src/foo_functions.rs`. That's the crate where all the
 lint code is. This file has already imported some initial things we will need:
 
 ```rust
-use rustc::lint::{LintArray, LintPass, EarlyLintPass, EarlyContext};
+use rustc_lint::{EarlyLintPass, EarlyContext};
 use rustc_session::{declare_lint_pass, declare_tool_lint};
 use syntax::ast::*;
 ```