Skip to content

Revert stability for Bitv and BitvSet #21208

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/libcollections/bit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static FALSE: bool = false;
/// println!("{:?}", bv);
/// println!("total bits set to true: {}", bv.iter().filter(|x| *x).count());
/// ```
#[stable]
#[unstable = "RFC 509"]
pub struct Bitv {
/// Internal representation of the bit vector
storage: Vec<u32>,
Expand Down Expand Up @@ -1107,7 +1107,7 @@ impl<'a> RandomAccessIterator for Iter<'a> {
/// assert!(bv[3]);
/// ```
#[derive(Clone)]
#[stable]
#[unstable = "RFC 509"]
pub struct BitvSet {
bitv: Bitv,
}
Expand Down
4 changes: 2 additions & 2 deletions src/libcollections/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ pub mod string;
pub mod vec;
pub mod vec_map;

#[stable]
#[unstable = "RFC 509"]
pub mod bitv {
pub use bit::{Bitv, Iter};
}

#[stable]
#[unstable = "RFC 509"]
pub mod bitv_set {
pub use bit::{BitvSet, Union, Intersection, Difference, SymmetricDifference};
pub use bit::SetIter as Iter;
Expand Down