Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b132190

Browse files
committed
make clippy happy
1 parent 0978d16 commit b132190

File tree

1 file changed

+1
-1
lines changed
  • crates/hir-ty/src/diagnostics

1 file changed

+1
-1
lines changed

crates/hir-ty/src/diagnostics/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ impl ExprValidator {
160160
});
161161
}
162162

163-
let receiver_ty = self.infer[receiver.clone()].strip_references().clone();
163+
let receiver_ty = self.infer[*receiver].strip_references().clone();
164164
checker.prev_receiver_ty = Some(receiver_ty);
165165
}
166166
}

0 commit comments

Comments
 (0)