Skip to content

Commit f11d4e4

Browse files
committed
---
yaml --- r: 51659 b: refs/heads/incoming c: c99488b h: refs/heads/master i: 51657: 2492b1e 51655: c3e2889 v: v3
1 parent 6c9bc57 commit f11d4e4

File tree

3 files changed

+2
-32
lines changed

3 files changed

+2
-32
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: b9de2b5787440bbb196fd38223ef4a6a6f196f83
9+
refs/heads/incoming: c99488b3a4045171e36bcd2a89e742ac06d3ba72
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libcore/str.rs

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,6 @@ pub fn eachi_reverse(s: &str, it: &fn(uint, u8) -> bool) {
994994
}
995995
}
996996
997-
998997
/// Iterate over each char of a string, without allocating
999998
#[inline(always)]
1000999
pub fn each_char(s: &str, it: &fn(char) -> bool) {
@@ -1042,35 +1041,6 @@ pub fn each_chari_reverse(s: &str, it: &fn(uint, char) -> bool) {
10421041
}
10431042
}
10441043
1045-
/////////////////////////////////////////////////////////////////////////////////////////////////
1046-
// NOTE: Remove afterwards
1047-
/* /// Apply a function to each substring after splitting by character
1048-
pub fn split_char_each(ss: &str, cc: char, ff: &fn(v: &str) -> bool) {
1049-
vec::each(split_char(ss, cc), |s| ff(*s))
1050-
}
1051-
1052-
**
1053-
* Apply a function to each substring after splitting by character, up to
1054-
* `count` times
1055-
*
1056-
pub fn splitn_char_each(ss: &str, sep: char, count: uint,
1057-
ff: &fn(v: &str) -> bool) {
1058-
vec::each(splitn_char(ss, sep, count), |s| ff(*s))
1059-
}
1060-
1061-
/ Apply a function to each word
1062-
pub fn words_each(ss: &str, ff: &fn(v: &str) -> bool) {
1063-
vec::each(words(ss), |s| ff(*s))
1064-
}
1065-
1066-
**
1067-
* Apply a function to each line (by '\n')
1068-
*
1069-
pub fn lines_each(ss: &str, ff: &fn(v: &str) -> bool) {
1070-
vec::each(lines(ss), |s| ff(*s))
1071-
} */
1072-
/////////////////////////////////////////////////////////////////////////////////////////////////
1073-
10741044
/*
10751045
Section: Searching
10761046
*/

branches/incoming/src/libstd/base64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub trait ToBase64 {
1616
fn to_base64(&self) -> ~str;
1717
}
1818

19-
static CHARS: &'static[char] = &[
19+
static CHARS: [char * 64] = [
2020
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
2121
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
2222
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',

0 commit comments

Comments
 (0)