Skip to content

provide a non-allocating version of os::glob #6101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
doy opened this issue Apr 29, 2013 · 2 comments
Closed

provide a non-allocating version of os::glob #6101

doy opened this issue Apr 29, 2013 · 2 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@doy
Copy link
Contributor

doy commented Apr 29, 2013

Probably something along the lines of os::each_glob(pattern: &str, cb: &fn (&Path)). (In preparation for #5832.)

@emberian
Copy link
Member

Visiting for triage; still relevant.

@huonw
Copy link
Member

huonw commented Nov 24, 2013

Triage: fixed by #8914, which provides a pure-Rust glob implementation as an iterator.

@huonw huonw closed this as completed Nov 24, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Nov 5, 2020
…r=flip1995

Add lint: from_iter_instead_of_collect

Fixes rust-lang#5679

This implements lint for `::from_iter()` from rust-lang#5679 not the general issue (`std::ops::Add::add`, etc.).
This lint checks if expression is function call with `from_iter` name and if it's implementation of the `std::iter::FromIterator` trait.

changelog: Introduce  from_iter_instead_of_collect lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

No branches or pull requests

3 participants