Commit 2f4e30f
committed
chore(core,clippy): remove redundant .clone() in rollout items
Replace unnecessary .clone() calls when pushing ResponseItem instances in sample_rollout test. Moves user and assistant values into RolloutItem::ResponseItem (user1, assistant1, user2, assistant2) instead of cloning them, eliminating needless clones1 parent 9706e79 commit 2f4e30f
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4048 | 4048 | | |
4049 | 4049 | | |
4050 | 4050 | | |
4051 | | - | |
| 4051 | + | |
4052 | 4052 | | |
4053 | 4053 | | |
4054 | 4054 | | |
| |||
4063 | 4063 | | |
4064 | 4064 | | |
4065 | 4065 | | |
4066 | | - | |
| 4066 | + | |
4067 | 4067 | | |
4068 | 4068 | | |
4069 | 4069 | | |
| |||
4090 | 4090 | | |
4091 | 4091 | | |
4092 | 4092 | | |
4093 | | - | |
| 4093 | + | |
4094 | 4094 | | |
4095 | 4095 | | |
4096 | 4096 | | |
| |||
4105 | 4105 | | |
4106 | 4106 | | |
4107 | 4107 | | |
4108 | | - | |
| 4108 | + | |
4109 | 4109 | | |
4110 | 4110 | | |
4111 | 4111 | | |
| |||
0 commit comments