Skip to content

Remove GenericChan/Port from prelude #4867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/libcore/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ pub use path::GenericPath;
pub use path::Path;
pub use path::PosixPath;
pub use path::WindowsPath;
pub use pipes::{GenericChan, GenericPort};
pub use ptr::Ptr;
pub use str::{StrSlice, Trimmable, OwnedStr};
pub use to_bytes::IterBytes;
Expand Down
2 changes: 1 addition & 1 deletion src/libcore/private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use cast;
use iter;
use libc;
use option;
use pipes;
use pipes::{GenericChan, GenericPort};
use prelude::*;
use ptr;
use result;
Expand Down
3 changes: 2 additions & 1 deletion src/libcore/private/weak_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ use option::{Some, None, swap_unwrap};
use private::at_exit::at_exit;
use private::global::global_data_clone_create;
use private::finally::Finally;
use pipes::{Port, Chan, SharedChan, GenericSmartChan, stream};
use pipes::{Port, Chan, SharedChan, GenericChan, GenericPort,
GenericSmartChan, stream};
use task::{Task, task, spawn};
use task::rt::{task_id, get_task_id};
use hashmap::linear::LinearMap;
Expand Down
2 changes: 1 addition & 1 deletion src/libcore/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use io;
use io::ReaderUtil;
use libc;
use libc::{pid_t, c_void, c_int};
use pipes::{stream, SharedChan};
use pipes::{stream, SharedChan, GenericChan, GenericPort};
use option::{Some, None};
use os;
use prelude::*;
Expand Down