Skip to content

Commit e3e6113

Browse files
committed
---
yaml --- r: 153855 b: refs/heads/try2 c: 58d3f10 h: refs/heads/master i: 153853: 6274646 153851: 53d04af 153847: 632c11a 153839: 27d41f9 153823: 23990de 153791: d48544f 153727: 544f88d 153599: 3e3c49e v: v3
1 parent 80435ee commit e3e6113

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 53c639184cbbdb95d316cb36691a2f9722dfc41a
8+
refs/heads/try2: 58d3f109f87eb95998d2b5293a5981c1c5cfa4ce
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libcollections/treemap.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ use vec::Vec;
6464
/// println!("{}: {}", key, value);
6565
/// }
6666
///
67-
/// // Print 1, 2, 3
67+
/// // Prints 1, 2, 3
6868
/// for key in map.keys() {
6969
/// println!("{}", key);
7070
/// }
7171
///
72-
/// // Print `foo`, `bar`, `quux`
72+
/// // Prints `foo`, `bar`, `quux`
7373
/// for key in map.values() {
7474
/// println!("{}", key);
7575
/// }
@@ -108,7 +108,7 @@ use vec::Vec;
108108
/// // Implement `Ord` and sort trolls by level.
109109
/// impl<'a> Ord for Troll<'a> {
110110
/// fn cmp(&self, other: &Troll) -> Ordering {
111-
/// // If we swap `self` and `other`, we get descended ordering.
111+
/// // If we swap `self` and `other`, we get descending ordering.
112112
/// self.level.cmp(&other.level)
113113
/// }
114114
/// }
@@ -290,7 +290,6 @@ impl<K: Ord, V> TreeMap<K, V> {
290290
}
291291

292292
/// Get a lazy iterator over the key-value pairs in the map, in ascending order.
293-
/// Requires that it be frozen (immutable).
294293
///
295294
/// # Example
296295
///
@@ -316,7 +315,6 @@ impl<K: Ord, V> TreeMap<K, V> {
316315
}
317316

318317
/// Get a lazy reverse iterator over the key-value pairs in the map, in descending order.
319-
/// Requires that it be frozen (immutable).
320318
///
321319
/// # Example
322320
///
@@ -972,7 +970,7 @@ impl<'a, T> Iterator<&'a T> for RevSetItems<'a, T> {
972970
/// // Implement `Ord` and sort trolls by level.
973971
/// impl<'a> Ord for Troll<'a> {
974972
/// fn cmp(&self, other: &Troll) -> Ordering {
975-
/// // If we swap `self` and `other`, we get descended ordering.
973+
/// // If we swap `self` and `other`, we get descending ordering.
976974
/// self.level.cmp(&other.level)
977975
/// }
978976
/// }

0 commit comments

Comments
 (0)