Skip to content

Commit 07de6c6

Browse files
committed
---
yaml --- r: 79404 b: refs/heads/snap-stage3 c: 6f176a1 h: refs/heads/master v: v3
1 parent 2f9d97c commit 07de6c6

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
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: 124eb2119c78651cfaaa7a046a101fa2e20f83ca
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 422dcbd56d1a1888f1491d8fb14bb87a54fadbc7
4+
refs/heads/snap-stage3: 6f176a17f630a82acd9f4163efc0384d02717d77
55
refs/heads/try: ac820906c0e53eab79a98ee64f7231f57c3887b4
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,8 +1370,6 @@ pub trait StrSlice<'self> {
13701370
13711371
fn slice_shift_char(&self) -> (char, &'self str);
13721372
1373-
fn map_chars(&self, ff: &fn(char) -> char) -> ~str;
1374-
13751373
fn lev_distance(&self, t: &str) -> uint;
13761374
13771375
fn subslice_offset(&self, inner: &str) -> uint;
@@ -2088,15 +2086,6 @@ impl<'self> StrSlice<'self> for &'self str {
20882086
return (ch, next_s);
20892087
}
20902088
2091-
/// Apply a function to each character.
2092-
fn map_chars(&self, ff: &fn(char) -> char) -> ~str {
2093-
let mut result = with_capacity(self.len());
2094-
for cc in self.iter() {
2095-
result.push_char(ff(cc));
2096-
}
2097-
result
2098-
}
2099-
21002089
/// Levenshtein Distance between two strings.
21012090
fn lev_distance(&self, t: &str) -> uint {
21022091
let slen = self.len();

0 commit comments

Comments
 (0)