From 1e117938cf12e59eaac89482e611ee4d95e2a953 Mon Sep 17 00:00:00 2001 From: Krishna Sai Veera Reddy Date: Mon, 10 Feb 2020 19:37:25 -0800 Subject: Remove unnecessary imports from documentation --- doc/adding_lints.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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::*; ``` -- cgit 1.4.1-3-g733a5