Skip to content

Commit 3972bef

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 177830 b: refs/heads/snap-stage3 c: 16a2503 h: refs/heads/master v: v3
1 parent cb30114 commit 3972bef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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: 474b324eda10440d6568ef872a7307d38e7de95b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 3cc191e58acfcffdce6fd718c8fcc1e1d3c36d23
4+
refs/heads/snap-stage3: 16a2503a1c4c99a50ceea148d56dc8a6309be048
55
refs/heads/try: fde4472848b662a4d1236388c4cf15e2450237e6
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/libcore/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2539,7 +2539,7 @@ pub struct Range<A> {
25392539
/// ```
25402540
/// let array = [0, 1, 2, 3, 4];
25412541
///
2542-
/// for i in 0..5 {
2542+
/// for i in range(0, 5) {
25432543
/// println!("{}", i);
25442544
/// assert_eq!(i, array[i]);
25452545
/// }

branches/snap-stage3/src/librustc/util/lev_distance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pub fn lev_distance(me: &str, t: &str) -> uint {
4545
fn test_lev_distance() {
4646
use std::char::{ from_u32, MAX };
4747
// Test bytelength agnosticity
48-
for c in 0u32..MAX as u32
48+
for c in (0u32..MAX as u32)
4949
.filter_map(|i| from_u32(i))
5050
.map(|i| i.to_string()) {
5151
assert_eq!(lev_distance(&c[], &c[]), 0);

0 commit comments

Comments
 (0)