diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-21 09:13:38 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-21 09:13:38 -0800 |
| commit | 2e9adab52808bb7eb439a0e3482973e6a9c59c4b (patch) | |
| tree | e5668cc152384dee346de5e2f4cbc21004e2a852 /src/libcore | |
| parent | 83af23ea49a907ddda8915775cfb5d8c4cff5682 (diff) | |
| parent | 2cc7feb4f6019b36f84d56f3202361bace1e5503 (diff) | |
rollup merge of #21053: apasel422/exact
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/slice.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcore/slice.rs b/src/libcore/slice.rs index 50cbb7a61dc..ae5dc1bffa6 100644 --- a/src/libcore/slice.rs +++ b/src/libcore/slice.rs @@ -1269,6 +1269,9 @@ impl<'a, T> DoubleEndedIterator for Chunks<'a, T> { } } +#[stable] +impl<'a, T> ExactSizeIterator for Chunks<'a, T> {} + #[unstable = "trait is experimental"] impl<'a, T> RandomAccessIterator for Chunks<'a, T> { #[inline] @@ -1347,6 +1350,8 @@ impl<'a, T> DoubleEndedIterator for ChunksMut<'a, T> { } } +#[stable] +impl<'a, T> ExactSizeIterator for ChunksMut<'a, T> {} // // Free functions |
