Skip to content

Move extra::c_vec to collections. #12469

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 1 commit 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
4 changes: 2 additions & 2 deletions src/libextra/c_vec.rs → src/libcollections/c_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ impl <T> Container for CVec<T> {

#[cfg(test)]
mod tests {
use super::*;
use super::CVec;

use std::libc::*;
use std::libc::{malloc, c_void};
use std::libc;
use std::ptr;
use std::rt::global_heap::malloc_raw;
Expand Down
2 changes: 2 additions & 0 deletions src/libcollections/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ extern crate serialize;

pub use bitv::Bitv;
pub use btree::BTree;
pub use c_vec::CVec;
pub use deque::Deque;
pub use dlist::DList;
pub use enum_set::EnumSet;
Expand All @@ -36,6 +37,7 @@ pub use treemap::{TreeMap, TreeSet};

pub mod bitv;
pub mod btree;
pub mod c_vec;
pub mod deque;
pub mod dlist;
pub mod enum_set;
Expand Down
1 change: 0 additions & 1 deletion src/libextra/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ extern crate collections;
extern crate time;

// Utility modules
pub mod c_vec;
pub mod url;
pub mod json;
pub mod tempfile;
Expand Down