Skip to content

Commit 8899e66

Browse files
committed
---
yaml --- r: 49939 b: refs/heads/auto c: 38ac809 h: refs/heads/master i: 49937: b49538b 49935: 6abfee7 v: v3
1 parent 4755847 commit 8899e66

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 4bf5ad63f023320864dad323262364a476354d15
17+
refs/heads/auto: 38ac809cc7f0d4da8cc16951f8a9852f4b052c1f
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167

branches/auto/src/libcore/prelude.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ pub use vec::{CopyableVector, ImmutableVector};
4343
pub use vec::{ImmutableEqVector, ImmutableCopyableVector};
4444
pub use vec::{OwnedVector, OwnedCopyableVector};
4545

46-
/* Reexported runtime types */
47-
pub use comm::{stream, Port, Chan, GenericChan, GenericSmartChan, GenericPort, Peekable};
48-
pub use task::spawn;
49-
5046
/* Reexported modules */
5147

5248
pub use at_vec;

branches/auto/src/libcore/str.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2273,6 +2273,7 @@ pub trait StrSlice {
22732273
pure fn to_owned(&self) -> ~str;
22742274
pure fn to_managed(&self) -> @str;
22752275
pure fn char_at(&self, i: uint) -> char;
2276+
fn to_bytes(&self) -> ~[u8];
22762277
}
22772278
22782279
/// Extension methods for strings
@@ -2416,6 +2417,8 @@ impl StrSlice for &self/str {
24162417
24172418
#[inline]
24182419
pure fn char_at(&self, i: uint) -> char { char_at(*self, i) }
2420+
2421+
fn to_bytes(&self) -> ~[u8] { to_bytes(*self) }
24192422
}
24202423
24212424
pub trait OwnedStr {

0 commit comments

Comments
 (0)