Skip to content

Commit

Permalink
replace crate::methods::utils with super::utils
Browse files Browse the repository at this point in the history
  • Loading branch information
TaKO8Ki committed Mar 17, 2021
1 parent 0edd5f8 commit b6a2757
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/iter_next_slice.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::methods::utils::derefs_to_slice;
use super::utils::derefs_to_slice;
use clippy_utils::diagnostics::span_lint_and_sugg;
use clippy_utils::source::snippet_with_applicability;
use clippy_utils::ty::is_type_diagnostic_item;
Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/iter_nth.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use super::utils::derefs_to_slice;
use crate::methods::iter_nth_zero;
use crate::methods::utils::derefs_to_slice;
use clippy_utils::diagnostics::span_lint_and_help;
use clippy_utils::ty::is_type_diagnostic_item;
use rustc_hir as hir;
Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/single_char_insert_string.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::methods::utils::get_hint_if_single_char_arg;
use super::utils::get_hint_if_single_char_arg;
use clippy_utils::diagnostics::span_lint_and_sugg;
use clippy_utils::source::snippet_with_applicability;
use rustc_errors::Applicability;
Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/single_char_pattern.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::methods::utils::get_hint_if_single_char_arg;
use super::utils::get_hint_if_single_char_arg;
use clippy_utils::diagnostics::span_lint_and_sugg;
use if_chain::if_chain;
use rustc_errors::Applicability;
Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/single_char_push_string.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::methods::utils::get_hint_if_single_char_arg;
use super::utils::get_hint_if_single_char_arg;
use clippy_utils::diagnostics::span_lint_and_sugg;
use clippy_utils::source::snippet_with_applicability;
use rustc_errors::Applicability;
Expand Down

0 comments on commit b6a2757

Please sign in to comment.