Skip to content

Commit 22838e8

Browse files
committed
Auto merge of rust-lang#3561 - RalfJung:rustup, r=RalfJung
Rustup
2 parents 0643e92 + e1e19f4 commit 22838e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_utils/src/hir_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ impl HirEqInterExpr<'_, '_, '_> {
224224
})
225225
}
226226

227-
pub fn eq_array_length(&mut self, left: ArrayLen, right: ArrayLen) -> bool {
227+
pub fn eq_array_length(&mut self, left: ArrayLen<'_>, right: ArrayLen<'_>) -> bool {
228228
match (left, right) {
229229
(ArrayLen::Infer(..), ArrayLen::Infer(..)) => true,
230230
(ArrayLen::Body(l_ct), ArrayLen::Body(r_ct)) => self.eq_body(l_ct.body, r_ct.body),
@@ -1116,7 +1116,7 @@ impl<'a, 'tcx> SpanlessHash<'a, 'tcx> {
11161116
}
11171117
}
11181118

1119-
pub fn hash_array_length(&mut self, length: ArrayLen) {
1119+
pub fn hash_array_length(&mut self, length: ArrayLen<'_>) {
11201120
match length {
11211121
ArrayLen::Infer(..) => {},
11221122
ArrayLen::Body(anon_const) => self.hash_body(anon_const.body),

0 commit comments

Comments
 (0)