Skip to content

Commit f2b137a

Browse files
committed
---
yaml --- r: 227597 b: refs/heads/try c: 02a8d5b h: refs/heads/master i: 227595: cc2d741 v: v3
1 parent cdf5964 commit f2b137a

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,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: ce1a965cf54ce65fc43b535c27029ce183214063
4+
refs/heads/try: 02a8d5b57057a5c76667e85e92ea2c8a95303150
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/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)