Rust Internals
.iter() could be skipped when performing a combinator on Vector
language design
R081n
August 23, 2024, 1:43pm
11
Also important to note is that at least for vectors the filter function already exists as retain()
6 Likes
Repeated `return type` could be removed from function body
show post in topic
Related topics
Topic
Replies
Views
Activity
Optional .collect() when combinator is last operation
language design
6
518
February 13, 2026
Idea: APIs for less `into_iter()`s & `collect::<Vec<_>>()`s
libs
4
707
October 5, 2023
Filter_take function pre-RFC
libs
3
848
March 25, 2019
Add Iterator::into_vec()
libs
14
2802
March 25, 2019
Include `collect_vec` in `std`?
libs
23
4243
March 25, 2019