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"
179179new_without_default = " allow"
180180non_canonical_clone_impl = " allow"
181181non_canonical_partial_ord_impl = " allow"
182- ptr_arg = " allow"
183182redundant_closure = " allow"
184183redundant_pattern_matching = " allow"
185184search_is_some = " allow"
Original file line number Diff line number Diff line change @@ -946,7 +946,7 @@ impl InferenceContext<'_> {
946946 derefed_callee : & Ty ,
947947 adjustments : & mut Vec < Adjustment > ,
948948 callee_ty : & Ty ,
949- params : & Vec < Ty > ,
949+ params : & [ Ty ] ,
950950 tgt_expr : ExprId ,
951951 ) {
952952 match fn_x {
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ fn generate_impl(
236236 ctx : & AssistContext < ' _ > ,
237237 strukt : & Struct ,
238238 field_ty : & ast:: Type ,
239- field_name : & String ,
239+ field_name : & str ,
240240 delegee : & Delegee ,
241241) -> Option < ast:: Impl > {
242242 let delegate: ast:: Impl ;
You can’t perform that action at this time.
0 commit comments