about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTakayuki Maeda <takoyaki0316@gmail.com>2021-02-26 17:38:21 +0900
committerTakayuki Maeda <takoyaki0316@gmail.com>2021-02-27 14:16:02 +0900
commit6041365f4bae6482467210ea1b60e18101ba6fd0 (patch)
treebb2c27ac9fc57f1e6f4aa22c7a4e7de52c11b79d
parentc297174adf9468234d0eebad608514879a52b82b (diff)
downloadrust-6041365f4bae6482467210ea1b60e18101ba6fd0.tar.gz
rust-6041365f4bae6482467210ea1b60e18101ba6fd0.zip
remove pub(crate)
-rw-r--r--clippy_lints/src/methods/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index 30830fb0af6..4a63de3cf48 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -2803,7 +2803,7 @@ fn lint_iter_skip_next(cx: &LateContext<'_>, expr: &hir::Expr<'_>, skip_args: &[
     }
 }
 
-pub(crate) fn derefs_to_slice<'tcx>(
+fn derefs_to_slice<'tcx>(
     cx: &LateContext<'tcx>,
     expr: &'tcx hir::Expr<'tcx>,
     ty: Ty<'tcx>,