Skip to content

Commit 34e232f

Browse files
killerswanmarijnh
authored andcommitted
---
yaml --- r: 11436 b: refs/heads/master c: e1d04e0 h: refs/heads/master v: v3
1 parent d729c12 commit 34e232f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: 7c78b7dfedb1f700e0fc3378fc3326bff86698f5
2+
refs/heads/master: e1d04e00621672a0e9f5424285f302077a973b37
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/libcore/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,8 @@ fn substr(s: str, begin: uint, len: uint) -> str {
401401
// beyond the last character of the string
402402
fn slice(ss: str, begin: uint, end: uint) -> str {
403403
alt maybe_slice(ss, begin, end) {
404-
none { fail "slice requires a valid start and end"; }
405404
some(sli) { ret sli; }
405+
none { fail "slice requires a valid start and end"; }
406406
}
407407
}
408408

0 commit comments

Comments
 (0)