Commit 648cdee
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 cf90f92 commit 648cdee
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4465 | 4465 | | |
4466 | 4466 | | |
4467 | 4467 | | |
4468 | | - | |
| 4468 | + | |
4469 | 4469 | | |
4470 | 4470 | | |
4471 | 4471 | | |
| |||
4480 | 4480 | | |
4481 | 4481 | | |
4482 | 4482 | | |
4483 | | - | |
| 4483 | + | |
4484 | 4484 | | |
4485 | 4485 | | |
4486 | 4486 | | |
| |||
4507 | 4507 | | |
4508 | 4508 | | |
4509 | 4509 | | |
4510 | | - | |
| 4510 | + | |
4511 | 4511 | | |
4512 | 4512 | | |
4513 | 4513 | | |
| |||
4522 | 4522 | | |
4523 | 4523 | | |
4524 | 4524 | | |
4525 | | - | |
| 4525 | + | |
4526 | 4526 | | |
4527 | 4527 | | |
4528 | 4528 | | |
| |||
0 commit comments