| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-02-26 | remove some compiler warnings | Tshepang Lekhonkhobe | -3/+3 | |
| 2015-02-18 | Replace all uses of `&foo[]` with `&foo[..]` en masse. | Niko Matsakis | -6/+6 | |
| 2015-01-30 | Remove all `i` suffixes | Tobias Bucher | -10/+10 | |
| 2015-01-07 | use slicing sugar | Jorge Aparicio | -3/+3 | |
| 2015-01-07 | fallout | Nick Cameron | -8/+8 | |
| 2015-01-07 | Replace full slice notation with index calls | Nick Cameron | -7/+7 | |
| 2014-12-30 | Fallout from stabilization | Aaron Turon | -11/+11 | |
| 2014-11-26 | Test fixes and rebase conflicts | Alex Crichton | -1/+1 | |
| 2014-11-25 | Add methods to go from a slice iterators to a slice. | Huon Wilson | -0/+49 | |
| A slice iterator is isomorphic to a slice, just with a slightly different form: storing start and end pointers rather than start pointer and length. This patch reflects this by making converting between them as easy as `iter.as_slice()` (or even `iter[]` if the shorter lifetime is ok). That is, `slice.iter().as_slice() == slice`. | ||||
| 2014-08-13 | core: Add binary_search and binary_search_elem methods to slices. | Brian Anderson | -0/+35 | |
| These are like the existing bsearch methods but if the search fails, it returns the next insertion point. The new `binary_search` returns a `BinarySearchResult` that is either `Found` or `NotFound`. For convenience, the `found` and `not_found` methods convert to `Option`, ala `Result`. Deprecate bsearch and bsearch_elem. | ||||
