rust/src/libcore
Alex Crichton e98dce3e00 std: Changing the meaning of the count to splitn
This commit is an implementation of [RFC 979][rfc] which changes the meaning of
the count parameter to the `splitn` function on strings and slices. The
parameter now means the number of items that are returned from the iterator, not
the number of splits that are made.

[rfc]: https://github.com/rust-lang/rfcs/pull/979

Closes #23911
[breaking-change]
2015-04-01 13:29:42 -07:00
..
fmt rollup merge of #23549: aturon/stab-num 2015-03-31 10:15:26 -07:00
hash std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
num rollup merge of #23863: pnkfelix/arith-oflo-const-eval 2015-03-31 18:06:35 -07:00
str std: Changing the meaning of the count to splitn 2015-04-01 13:29:42 -07:00
any.rs std: Stabilize the rest of Any/BoxAny 2015-03-30 16:44:11 -07:00
array.rs Implement AsRef and AsMut for fixed-sized arrays 2015-03-25 01:37:08 +02:00
atomic.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
cell.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
char.rs std: Stabilize more of the char module 2015-03-10 15:08:31 -07:00
clone.rs An example for clone 2015-03-24 16:58:08 -04:00
cmp.rs rollup merge of #23288: alexcrichton/issue-19470 2015-03-31 15:59:35 -07:00
cmp_macros.rs std: Remove #[old_orphan_check] from PartialEq 2015-03-31 13:39:14 -07:00
convert.rs Test fixes and rebase conflicts, round 2 2015-03-31 15:56:33 -07:00
default.rs Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
error.rs rollup merge of #23879: seanmonstar/del-from-error 2015-03-31 15:53:39 -07:00
intrinsics.rs Test fixes and rebase conflicts, round 1 2015-03-31 15:53:25 -07:00
iter.rs Test fixes and rebase conflicts, round 3 2015-03-31 17:39:24 -07:00
lib.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
macros.rs rollup merge of #23288: alexcrichton/issue-19470 2015-03-31 15:59:35 -07:00
marker.rs rollup merge of #23873: alexcrichton/remove-deprecated 2015-03-31 15:54:44 -07:00
mem.rs Test fixes and rebase conflicts, round 1 2015-03-31 15:53:25 -07:00
nonzero.rs Rewrite Unique<T> so that it is covariant in T, implies NonZero and ownership, 2015-02-18 10:25:12 -05:00
ops.rs Driveby cleanup of the impl for negation, which had some kind of 2015-03-30 04:59:56 -04:00
option.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
panicking.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
prelude.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
ptr.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
raw.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
result.rs Remove IteratorExt 2015-03-28 13:53:45 -07:00
simd.rs Add #![feature] attributes to doctests 2015-03-23 14:40:26 -07:00
slice.rs std: Changing the meaning of the count to splitn 2015-04-01 13:29:42 -07:00
tuple.rs core: Update tuple doc 2015-03-15 18:16:03 +01:00
ty.rs markers -> marker 2015-01-07 12:10:31 +13:00