Skip to content

Commit 34113dc

Browse files
committed
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

+4
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;

0 commit comments

Comments
 (0)