Skip to content

API docs/examples for std::slice #16244

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
wants to merge 2 commits into from
Closed

API docs/examples for std::slice #16244

wants to merge 2 commits into from

Conversation

jasonthompson
Copy link
Contributor

  • API example for move_from in MutableVectorAllocating
  • API doc/example for next() in Permutations
  • API doc/example for permutations() in ImmutableCloneableVector

/// for p in perms {
/// println!("{}", p);
/// }
/// ```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this is a trait method, this won't actually show up in rustdoc. Could you add this documentation to the trait instead?

 - API example for move_from in MutableVectorAllocating
 - API doc/example for next() in Permutations
 - API doc/example for permutations() in ImmutableCloneableVector
- Moved examples for permutations and next into trait definition.
@alexcrichton
Copy link
Member

Closing in favor of #16417

bors added a commit that referenced this pull request Aug 12, 2014
- Moved examples for permutations and next into trait definition as
   comments on pull request #16244.
- Fixed (hopefully) issue with erronious commit of changes to src/llvm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants