@@ -338,6 +338,7 @@ pub struct ValuesMut<'a, K: 'a, V: 'a> { |
|
|
338 |
338 |
} |
339 |
339 |
|
340 |
340 |
/// An iterator over a sub-range of BTreeMap's entries. |
|
341 |
+#[stable(feature = "btree_range", since = "1.17.0")] |
341 |
342 |
pub struct Range<'a, K: 'a, V: 'a> { |
342 |
343 |
front: Handle<NodeRef<marker::Immut<'a>, K, V, marker::Leaf>, marker::Edge>, |
343 |
344 |
back: Handle<NodeRef<marker::Immut<'a>, K, V, marker::Leaf>, marker::Edge>, |
@@ -351,6 +352,7 @@ impl<'a, K: 'a + fmt::Debug, V: 'a + fmt::Debug> fmt::Debug for Range<'a, K, V> |
|
|
351 |
352 |
} |
352 |
353 |
|
353 |
354 |
/// A mutable iterator over a sub-range of BTreeMap's entries. |
|
355 |
+#[stable(feature = "btree_range", since = "1.17.0")] |
354 |
356 |
pub struct RangeMut<'a, K: 'a, V: 'a> { |
355 |
357 |
front: Handle<NodeRef<marker::Mut<'a>, K, V, marker::Leaf>, marker::Edge>, |
356 |
358 |
back: Handle<NodeRef<marker::Mut<'a>, K, V, marker::Leaf>, marker::Edge>, |