Skip to content

Commit 34113dc

Browse files
committedMar 14, 2013
core: Add spawn, stream and friends to prelude. #5299
1 parent ab5472a commit 34113dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/libcore/prelude.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ 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+
4650
/* Reexported modules */
4751

4852
pub use at_vec;

5 commit comments

Comments
 (5)

bors commented on Mar 15, 2013

@bors
Collaborator

saw approval from thestinger
at brson@34113dc

bors commented on Mar 15, 2013

@bors
Collaborator

merging brson/rust/5299 = 34113dc into auto

bors commented on Mar 15, 2013

@bors
Collaborator

brson/rust/5299 = 34113dc merged ok, testing candidate = 4bf5ad6

bors commented on Mar 15, 2013

@bors
Collaborator

fast-forwarding incoming to auto = 4bf5ad6

Please sign in to comment.