diff options
| author | Krishna Sai Veera Reddy <veerareddy@email.arizona.edu> | 2020-02-10 19:37:25 -0800 |
|---|---|---|
| committer | Krishna Sai Veera Reddy <veerareddy@email.arizona.edu> | 2020-02-10 19:37:25 -0800 |
| commit | 1e117938cf12e59eaac89482e611ee4d95e2a953 (patch) | |
| tree | 181001ff5e8241c57264b00d1169007d39c8783e /doc/adding_lints.md | |
| parent | 6b4cae18dde124dda30e53ade20b8d43315a6dc6 (diff) | |
| download | rust-1e117938cf12e59eaac89482e611ee4d95e2a953.tar.gz rust-1e117938cf12e59eaac89482e611ee4d95e2a953.zip | |
Remove unnecessary imports from documentation
Diffstat (limited to 'doc/adding_lints.md')
| -rw-r--r-- | doc/adding_lints.md | 2 |
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::*; ``` |
