Skip to content

Commit f8240f6

Browse files
committed
---
yaml --- r: 49578 b: refs/heads/master c: c99488b h: refs/heads/master v: v3
1 parent 1cdbb1c commit f8240f6

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b9de2b5787440bbb196fd38223ef4a6a6f196f83
2+
refs/heads/master: c99488b3a4045171e36bcd2a89e742ac06d3ba72
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
55
refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea

trunk/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
*/

trunk/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)