Skip to content

Commit 5532940

Browse files
committed
---
yaml --- r: 139310 b: refs/heads/try2 c: c99488b h: refs/heads/master v: v3
1 parent 0c55909 commit 5532940

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: b9de2b5787440bbb196fd38223ef4a6a6f196f83
8+
refs/heads/try2: c99488b3a4045171e36bcd2a89e742ac06d3ba72
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

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