Skip to content

Commit f1fa503

Browse files
committed
---
yaml --- r: 51381 b: refs/heads/incoming c: 38ac809 h: refs/heads/master i: 51379: 629e145 v: v3
1 parent 9339356 commit f1fa503

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
@@ -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: 4bf5ad63f023320864dad323262364a476354d15
9+
refs/heads/incoming: 38ac809cc7f0d4da8cc16951f8a9852f4b052c1f
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

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