diff options
| author | Alex Macleod <alex@macleod.io> | 2023-07-03 17:42:48 +0000 |
|---|---|---|
| committer | Alex Macleod <alex@macleod.io> | 2023-07-13 12:44:57 +0000 |
| commit | 2811effe3478a3ce7d1bdde936c6ca8fb08de326 (patch) | |
| tree | 2fae46cd196f04c8cbbdb7ab6cc92ca183514372 /clippy_lints/src/swap.rs | |
| parent | 631faa1bc7601b31f6256693558eea967515a5cf (diff) | |
Add `imports_granularity = "Module"` to rustfmt.toml
Diffstat (limited to 'clippy_lints/src/swap.rs')
| -rw-r--r-- | clippy_lints/src/swap.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/swap.rs b/clippy_lints/src/swap.rs index f7eef03d1d4..98158ed0aee 100644 --- a/clippy_lints/src/swap.rs +++ b/clippy_lints/src/swap.rs @@ -11,8 +11,8 @@ use rustc_middle::lint::in_external_macro; use rustc_middle::ty; use rustc_session::{declare_lint_pass, declare_tool_lint}; use rustc_span::source_map::Spanned; -use rustc_span::SyntaxContext; -use rustc_span::{sym, symbol::Ident, Span}; +use rustc_span::symbol::Ident; +use rustc_span::{sym, Span, SyntaxContext}; declare_clippy_lint! { /// ### What it does |
