Skip to content

Commit 8b25086

Browse files
committed
Deprecate BitSet and BitVec in favour of bit-vec and bit-set crates in cargo
1 parent 0b70378 commit 8b25086

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libcollections/bit.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![deprecated(reason = "BitVec and BitSet have been migrated to cargo as bit-vec and bit-set",
12+
since = "1.2.0")]
13+
#![unstable(feature = "collections", reason = "deprecated")]
14+
#![allow(deprecated)]
15+
1116
// FIXME(Gankro): BitVec and BitSet are very tightly coupled. Ideally (for
1217
// maintenance), they should be in separate files/modules, with BitSet only
1318
// using BitVec's public API. This will be hard for performance though, because

0 commit comments

Comments
 (0)