Skip to content

Commit 4edcef5

Browse files
committed
---
yaml --- r: 212985 b: refs/heads/master c: 02a8d5b h: refs/heads/master i: 212983: 4ee2bae v: v3
1 parent 8e1651f commit 4edcef5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: ce1a965cf54ce65fc43b535c27029ce183214063
2+
refs/heads/master: 02a8d5b57057a5c76667e85e92ea2c8a95303150
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
55
refs/heads/try: 1864973ae17213c5a58c4dd3f9af6d1b6c7d2e05

trunk/src/libcore/iter.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,10 @@ impl<'a, I: DoubleEndedIterator + ?Sized> DoubleEndedIterator for &'a mut I {
12301230
#[unstable(feature = "iter_idx",
12311231
reason = "not widely used, may be better decomposed into Index \
12321232
and ExactSizeIterator")]
1233+
#[deprecated(since = "1.2.0",
1234+
reason = "trait has not proven itself as a widely useful \
1235+
abstraction for iterators, and more time may be needed \
1236+
for iteration on the design")]
12331237
pub trait RandomAccessIterator: Iterator {
12341238
/// Returns the number of indexable elements. At most `std::usize::MAX`
12351239
/// elements are indexable, even if the iterator represents a longer range.

0 commit comments

Comments
 (0)