Skip to content

Commit 33ae058

Browse files
committed
core: Fix files that needed GenericChan/Port from prelude
1 parent 4f84376 commit 33ae058

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/libcore/private.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use cast;
1414
use iter;
1515
use libc;
1616
use option;
17-
use pipes;
17+
use pipes::{GenericChan, GenericPort};
1818
use prelude::*;
1919
use ptr;
2020
use result;

src/libcore/private/weak_task.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ use option::{Some, None, swap_unwrap};
2222
use private::at_exit::at_exit;
2323
use private::global::global_data_clone_create;
2424
use private::finally::Finally;
25-
use pipes::{Port, Chan, SharedChan, GenericSmartChan, stream};
25+
use pipes::{Port, Chan, SharedChan, GenericChan, GenericPort,
26+
GenericSmartChan, stream};
2627
use task::{Task, task, spawn};
2728
use task::rt::{task_id, get_task_id};
2829
use hashmap::linear::LinearMap;

src/libcore/run.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use io;
1414
use io::ReaderUtil;
1515
use libc;
1616
use libc::{pid_t, c_void, c_int};
17-
use pipes::{stream, SharedChan};
17+
use pipes::{stream, SharedChan, GenericChan, GenericPort};
1818
use option::{Some, None};
1919
use os;
2020
use prelude::*;

0 commit comments

Comments
 (0)