Skip to content

Commit 8f30f36

Browse files
committed
Merge pull request #21208 from nagisa/bitv-stability
Revert stability for Bitv and BitvSet Reviewed-by: aturon, aturon
2 parents 072b8c0 + bc03bf8 commit 8f30f36

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/libcollections/bit.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static FALSE: bool = false;
156156
/// println!("{:?}", bv);
157157
/// println!("total bits set to true: {}", bv.iter().filter(|x| *x).count());
158158
/// ```
159-
#[stable]
159+
#[unstable = "RFC 509"]
160160
pub struct Bitv {
161161
/// Internal representation of the bit vector
162162
storage: Vec<u32>,
@@ -1107,7 +1107,7 @@ impl<'a> RandomAccessIterator for Iter<'a> {
11071107
/// assert!(bv[3]);
11081108
/// ```
11091109
#[derive(Clone)]
1110-
#[stable]
1110+
#[unstable = "RFC 509"]
11111111
pub struct BitvSet {
11121112
bitv: Bitv,
11131113
}

src/libcollections/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ pub mod string;
7070
pub mod vec;
7171
pub mod vec_map;
7272

73-
#[stable]
73+
#[unstable = "RFC 509"]
7474
pub mod bitv {
7575
pub use bit::{Bitv, Iter};
7676
}
7777

78-
#[stable]
78+
#[unstable = "RFC 509"]
7979
pub mod bitv_set {
8080
pub use bit::{BitvSet, Union, Intersection, Difference, SymmetricDifference};
8181
pub use bit::SetIter as Iter;

0 commit comments

Comments
 (0)