Skip to content

Commit f9c9df1

Browse files
committed
---
yaml --- r: 22165 b: refs/heads/snap-stage3 c: baa08d5 h: refs/heads/master i: 22163: 010735f v: v3
1 parent 5bf2867 commit f9c9df1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-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: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 1d51cfa1e83ce18d05721683f2e60d9c2a9ae794
4+
refs/heads/snap-stage3: baa08d5a958a42a219f8c61bdfca0e4112e16820
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,8 @@ pub pure fn rfind_from(s: &str, start: uint, f: fn(char) -> bool)
11751175
* than or equal to `len(s)`. `start` must be the index of a character
11761176
* boundary, as defined by `is_char_boundary`
11771177
*/
1178-
pub pure fn rfind_between(s: &str, start: uint, end: uint, f: fn(char) -> bool)
1178+
pub pure fn rfind_between(s: &str, start: uint, end: uint,
1179+
f: fn(char) -> bool)
11791180
-> Option<uint> {
11801181
assert start >= end;
11811182
assert start <= len(s);
@@ -1607,7 +1608,9 @@ pub pure fn char_range_at(s: &str, i: uint) -> {ch: char, next: uint} {
16071608
}
16081609

16091610
/// Pluck a character out of a string
1610-
pub pure fn char_at(s: &str, i: uint) -> char { return char_range_at(s, i).ch; }
1611+
pub pure fn char_at(s: &str, i: uint) -> char {
1612+
return char_range_at(s, i).ch;
1613+
}
16111614

16121615
/**
16131616
* Given a byte position and a str, return the previous char and its position

0 commit comments

Comments
 (0)