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/methods/collapsible_str_replace.rs | |
| parent | 631faa1bc7601b31f6256693558eea967515a5cf (diff) | |
Add `imports_granularity = "Module"` to rustfmt.toml
Diffstat (limited to 'clippy_lints/src/methods/collapsible_str_replace.rs')
| -rw-r--r-- | clippy_lints/src/methods/collapsible_str_replace.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clippy_lints/src/methods/collapsible_str_replace.rs b/clippy_lints/src/methods/collapsible_str_replace.rs index 5e01ed90ff0..5409ede6008 100644 --- a/clippy_lints/src/methods/collapsible_str_replace.rs +++ b/clippy_lints/src/methods/collapsible_str_replace.rs @@ -8,8 +8,7 @@ use rustc_hir as hir; use rustc_lint::LateContext; use std::collections::VecDeque; -use super::method_call; -use super::COLLAPSIBLE_STR_REPLACE; +use super::{method_call, COLLAPSIBLE_STR_REPLACE}; pub(super) fn check<'tcx>( cx: &LateContext<'tcx>, |
