Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Lvl999Noob
10 months ago
|
parent
|
context
|
favorite
| on:
The humble for loop in Rust
If I recall correctly, there was actually some unstable specialisation in the std library that allowed reusing the backing storage if you do an `into_iter()` and then a `collect()`.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: