Skip to content
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

doc: Documentation examples for parallel iterator methods #420

Closed
alexcrichton opened this issue Sep 6, 2017 · 4 comments
Closed

doc: Documentation examples for parallel iterator methods #420

alexcrichton opened this issue Sep 6, 2017 · 4 comments
Assignees
Milestone

Comments

@alexcrichton
Copy link

Ideally all methods on the parallel iterator traits should have an example of how they can be used!

mamuleanu added a commit to mamuleanu/rayon that referenced this issue Oct 29, 2017
mamuleanu added a commit to mamuleanu/rayon that referenced this issue Nov 4, 2017
bors bot added a commit that referenced this issue Nov 6, 2017
466: Add documentation examples for parallel iterator methods r=cuviper a=mamuleanu

Closes #420
@bors bors bot closed this as completed in #466 Nov 7, 2017
@cuviper
Copy link
Member

cuviper commented Nov 7, 2017

I'm reopening this per #466 (comment)

@nikomatsakis
Copy link
Member

Assigning @cuviper to do a sweep over these methods.

@cuviper
Copy link
Member

cuviper commented Jan 24, 2018

Ideally all methods on the parallel iterator traits should have an example of how they can be used!

"traits" plural -- I'm inclined to include all traits in the prelude, but we're missing a lot of examples...

(#512 does add documentation to some of these, but not examples.)

Also, the iter functions are in good shape except for iter::split().

bors bot added a commit that referenced this issue Feb 1, 2018
517: Add Examples to Documentation r=cuviper a=iwillspeak

Updates the docs for the `ParallelString` and `ParallelSlice` trait to add
examples for each method.

part of #420
bors bot added a commit that referenced this issue Feb 6, 2018
511: 420 document parallel iterator methods r=nikomatsakis a=oddg

Contribution for closing #420.

There is one method left in the `ParallelIterator` trait that has no example: `opt_len`.
Also the example for `fold_with` might not be necessary.
bors bot added a commit that referenced this issue Feb 7, 2018
511: 420 document parallel iterator methods r=nikomatsakis a=oddg

Contribution for closing #420.

There is one method left in the `ParallelIterator` trait that has no example: `opt_len`.
Also the example for `fold_with` might not be necessary.
bors bot added a commit that referenced this issue Feb 8, 2018
526: Add examples to more traits r=nikomatsakis a=cuviper

This covers the simpler one-method traits for #420.
bors bot added a commit that referenced this issue Feb 14, 2018
531: Add examples to IndexedParallelIterator r=nikomatsakis a=cuviper

cc #420
bors bot added a commit that referenced this issue Feb 14, 2018
528: Replace coco with crossbeam-deque r=nikomatsakis a=cuviper

These are the changes from @stjepang and @jeehoonkang, replacing and closing #480.  The minimum rustc is *slightly* increased from 1.12 to 1.13 for the transitive requirements.

530: Add examples to par_split_mut and par_chunks_mut r=nikomatsakis a=cuviper

Also add an odd tail to the `par_chunks` example.

cc #420
@cuviper
Copy link
Member

cuviper commented Feb 14, 2018

All checked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants