Skip to content

Commit

Permalink
collections: Reorder slice methods to improve API docs
Browse files Browse the repository at this point in the history
We have an evolutionary history whose traces are still visible in the
slice docs today.

Some heuristics:

* Group method and method_mut together
* Group method and method_by together
* Group by use case, here we have roughly:

  Basic interrogators (len)
  Mutation (swap)
  Iterators (iter)
  Segmentation (split)
  Searching (contains)
  Permutations (permutations)
  Misc (clone_from_slice)
  • Loading branch information
Ulrik Sverdrup committed May 20, 2015
1 parent 93701b3 commit 77dcaa5
Showing 1 changed file with 454 additions and 454 deletions.

0 comments on commit 77dcaa5

Please sign in to comment.