]> git.lizzy.rs Git - rust.git/commitdiff
Stabilize collection modules
authorAaron Turon <aturon@mozilla.com>
Mon, 5 Jan 2015 00:35:20 +0000 (16:35 -0800)
committerAaron Turon <aturon@mozilla.com>
Mon, 5 Jan 2015 22:08:22 +0000 (14:08 -0800)
The earlier collections stabilization did not cover the modules
themselves. This commit marks as stable those modules whose types have
been stabilized.

src/libcollections/binary_heap.rs
src/libcollections/dlist.rs
src/libcollections/lib.rs
src/libcollections/ring_buf.rs
src/libstd/collections/mod.rs

index 4a550e5ce277d5eb7b1f8267bb567f9a72b02e6d..619a6e9427199718da835c9911cfecbda1369edd 100644 (file)
 //! ```
 
 #![allow(missing_docs)]
+#![stable]
 
 use core::prelude::*;
 
index ca8e75ac43c8d6f84ebe1f3d6331b2b3d251e542..14d61edca04380b305d5c373766b538c15c48ce4 100644 (file)
@@ -19,6 +19,8 @@
 // Backlinks over DList::prev are raw pointers that form a full chain in
 // the reverse direction.
 
+#![stable]
+
 use core::prelude::*;
 
 use alloc::boxed::Box;
index db2367950387b4a125d74446770a90fb07e6dc35..72cdae8ba310292fa0d1a81be40763f92c47272b 100644 (file)
 pub mod vec;
 pub mod vec_map;
 
+#[stable]
 pub mod bitv {
     pub use bit::{Bitv, Iter};
 }
 
+#[stable]
 pub mod bitv_set {
     pub use bit::{BitvSet, Union, Intersection, Difference, SymmetricDifference};
     pub use bit::SetIter as Iter;
 }
 
+#[stable]
 pub mod btree_map {
     pub use btree::map::*;
 }
 
+#[stable]
 pub mod btree_set {
     pub use btree::set::*;
 }
index e86c40bed212f90b71f79c96fd9cadba8bad205f..cc0debb23a0e51ac148c8a9f2b1208b48182c2a7 100644 (file)
@@ -12,6 +12,8 @@
 //! ends of the container. It also has `O(1)` indexing like a vector. The contained elements are
 //! not required to be copyable, and the queue will be sendable if the contained type is sendable.
 
+#![stable]
+
 use core::prelude::*;
 
 use core::cmp::Ordering;
index c0445fb5aea97babd873ca904f8678e4c6dcd93e..ef9d28bbbb2e863bd993080831155ff454335613 100644 (file)
 //! }
 //! ```
 
-#![experimental]
+#![stable]
 
 pub use core_collections::{BinaryHeap, Bitv, BitvSet, BTreeMap, BTreeSet};
 pub use core_collections::{DList, RingBuf, VecMap};
 
 mod hash;
 
+#[stable]
 pub mod hash_map {
     //! A hashmap
     pub use super::hash::map::*;
 }
 
+#[stable]
 pub mod hash_set {
     //! A hashset
     pub use super::hash::set::*;