Hey,
I've recently looked for ways to to get mutable references to multiple slice elements. When searching for this Google gives various topics on this forum as the top result:
For Example:
Multiple mutable references to elements within one vector - #31 by gengteng
Get mutable references to two elements of a slice by transmuting them
All easy to find answers point towards using split_at_mut (AIs also always answer with this).
However since 1.86.0 get_disjoint_mut is available, which solves the exact problem.
Since all the top result topics are already about this are already older than 90 days it is not possible to add and updated answers to these. Would it be worth disabling the out close for help/tutorial categories? Otherwise outdated answer cannot be updated.
2 posts - 3 participants
Read full topic
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | "Reply as a new topic" feature | 0 | 10.72 | 09-03-2026 |
| 2 | Retagging other users' threads and use of "embedded" tag | 0 | 7.34 | 26-02-2026 |
| 3 | Did Discourse change its notifications? | 0 | 8.44 | 03-04-2026 |
| 4 | По итогам года у нас будет 10 тысяч школ с инклюзивным образованием – Васильева | 0 | 0 | 10-12-2018 |
| 5 | Дмитрий Борисов Стихи Любовь Такая разная То сладость То война ... | 0 | 0 | 21-02-2025 |
| 6 | ISL | Bengaluru will be keen on regaining consistency as it faces Mohammedan | 0 | 0 | 10-01-2025 |
| 7 | Axios сообщили о деталях полемики между Трампом и Зеленским на встрече в Белом доме | 0 | 0 | 01-03-2025 |
| 8 | Большие надежды на переработку ⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡ В РФ на разных крупных ... | 0 | 0 | 27-02-2025 |
| 9 | Judo Düsseldorf: Japon judokaların başarısı güne damgasını vurdu | 0 | 0 | 23-02-2020 |
| 10 | #Активное_долголетие #ОФП #СОК ☝ Если Вы ещё не начали ходить ... | 0 | 0 | 20-02-2025 |