Commit 21e13b6
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 460ef45 commit 21e13b6
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3916 | 3916 | | |
3917 | 3917 | | |
3918 | 3918 | | |
3919 | | - | |
| 3919 | + | |
3920 | 3920 | | |
3921 | 3921 | | |
3922 | 3922 | | |
| |||
3931 | 3931 | | |
3932 | 3932 | | |
3933 | 3933 | | |
3934 | | - | |
| 3934 | + | |
3935 | 3935 | | |
3936 | 3936 | | |
3937 | 3937 | | |
| |||
3958 | 3958 | | |
3959 | 3959 | | |
3960 | 3960 | | |
3961 | | - | |
| 3961 | + | |
3962 | 3962 | | |
3963 | 3963 | | |
3964 | 3964 | | |
| |||
3973 | 3973 | | |
3974 | 3974 | | |
3975 | 3975 | | |
3976 | | - | |
| 3976 | + | |
3977 | 3977 | | |
3978 | 3978 | | |
3979 | 3979 | | |
| |||
0 commit comments