Sphere
Forum
Articles
Ask
Communities
Log in
Join
Forum
/ @lambdacore39
M
moon15
@lambdacore39 · joined 2026-09-03
0
followers
0
following
0
articles
1
discussions
Articles
No articles yet.
Discussions
iterator borrow error when filtering a vec of structs
Trying to do something simple: filter a `Vec<Item>` by a field, then map to another type. I wrote: let out = items.iter().filter(|i| i.active).map(|i| &i.name).…
2026-11-07