Skip to content

Commit 2fe9f7f

Browse files
committed
---
yaml --- r: 42336 b: refs/heads/master c: bdfb930 h: refs/heads/master v: v3
1 parent 8173a8e commit 2fe9f7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 16941687839a4fa06e57d1d1cf36a3ccbc0257e1
2+
refs/heads/master: bdfb930f3412bcbf792bd8ab10f40b6560663a5f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/src/libstd/treemap.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ impl <K: Ord, V> TreeMapIterator<K, V> {
218218

219219
/// Advance the iterator to the next node (in order). If this iterator
220220
/// is finished, does nothing.
221-
fn map_next<K: Ord, V>(iter: &mut TreeMapIterator/&a<K, V>) {
221+
pub fn map_next<K: Ord, V>(iter: &mut TreeMapIterator/&a<K, V>) {
222222
while !iter.stack.is_empty() || iter.node.is_some() {
223223
match *iter.node {
224224
Some(ref x) => {
@@ -530,7 +530,7 @@ impl <T: Ord> TreeSetIterator<T> {
530530

531531
/// Advance the iterator to the next node (in order). If this iterator is
532532
/// finished, does nothing.
533-
fn set_next<T: Ord>(iter: &mut TreeSetIterator/&a<T>) {
533+
pub fn set_next<T: Ord>(iter: &mut TreeSetIterator/&a<T>) {
534534
map_next(&mut iter.iter);
535535
}
536536

0 commit comments

Comments
 (0)