Commit 1ec4393
committed
fix: replace unnecessary clone with std::slice::from_ref
Replace track.clone() with std::slice::from_ref(track) to avoid
unnecessary allocation as suggested by newer clippy versions1 parent d245633 commit 1ec4393
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
641 | | - | |
| 641 | + | |
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| |||
0 commit comments