Skip to content

Commit 939cf18

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 182877 b: refs/heads/beta c: 16a2503 h: refs/heads/master i: 182875: 604eb60 v: v3
1 parent 2d2532d commit 939cf18

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
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 3cc191e58acfcffdce6fd718c8fcc1e1d3c36d23
34+
refs/heads/beta: 16a2503a1c4c99a50ceea148d56dc8a6309be048
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: eb836bf767aa1d8d4cba488a9091cde3c0ab4b2f

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