File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ needless_doctest_main = "allow"
179
179
new_without_default = " allow"
180
180
non_canonical_clone_impl = " allow"
181
181
non_canonical_partial_ord_impl = " allow"
182
- ptr_arg = " allow"
183
182
redundant_closure = " allow"
184
183
redundant_pattern_matching = " allow"
185
184
search_is_some = " allow"
Original file line number Diff line number Diff line change @@ -946,7 +946,7 @@ impl InferenceContext<'_> {
946
946
derefed_callee : & Ty ,
947
947
adjustments : & mut Vec < Adjustment > ,
948
948
callee_ty : & Ty ,
949
- params : & Vec < Ty > ,
949
+ params : & [ Ty ] ,
950
950
tgt_expr : ExprId ,
951
951
) {
952
952
match fn_x {
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ fn generate_impl(
236
236
ctx : & AssistContext < ' _ > ,
237
237
strukt : & Struct ,
238
238
field_ty : & ast:: Type ,
239
- field_name : & String ,
239
+ field_name : & str ,
240
240
delegee : & Delegee ,
241
241
) -> Option < ast:: Impl > {
242
242
let delegate: ast:: Impl ;
You can’t perform that action at this time.
0 commit comments