Skip to content

Commit 5770d40

Browse files
committed
More compact use statements
1 parent 0870819 commit 5770d40

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

clippy_lints/src/collection_is_never_read.rs

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
use clippy_utils::diagnostics::span_lint;
2-
use clippy_utils::get_enclosing_block;
3-
use clippy_utils::get_parent_node;
4-
use clippy_utils::path_to_local_id;
52
use clippy_utils::ty::is_type_diagnostic_item;
63
use clippy_utils::visitors::for_each_expr_with_closures;
4+
use clippy_utils::{get_enclosing_block, get_parent_node, path_to_local_id};
75
use core::ops::ControlFlow;
8-
use rustc_hir::Block;
9-
use rustc_hir::ExprKind;
10-
use rustc_hir::HirId;
11-
use rustc_hir::Local;
12-
use rustc_hir::Node;
13-
use rustc_hir::PatKind;
14-
use rustc_lint::LateContext;
15-
use rustc_lint::LateLintPass;
16-
use rustc_session::declare_lint_pass;
17-
use rustc_session::declare_tool_lint;
6+
use rustc_hir::{Block, ExprKind, HirId, Local, Node, PatKind};
7+
use rustc_lint::{LateContext, LateLintPass};
8+
use rustc_session::{declare_lint_pass, declare_tool_lint};
189
use rustc_span::symbol::sym;
1910
use rustc_span::Symbol;
2011

0 commit comments

Comments
 (0)