We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b8e85a commit 2f8d71bCopy full SHA for 2f8d71b
clippy_lints/src/methods/utils.rs
@@ -5,8 +5,7 @@ use rustc_ast::ast;
5
use rustc_errors::Applicability;
6
use rustc_hir as hir;
7
use rustc_lint::LateContext;
8
-use rustc_middle::ty;
9
-use rustc_middle::ty::Ty;
+use rustc_middle::ty::{self, Ty};
10
use rustc_span::symbol::sym;
11
12
pub(super) fn derefs_to_slice<'tcx>(
0 commit comments