File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ fn reverse_bits(byte: u8) -> u8 {
110
110
result
111
111
}
112
112
113
- // Take two BitV 's, and return iterators of their words, where the shorter one
113
+ // Take two BitVec 's, and return iterators of their words, where the shorter one
114
114
// has been padded with 0's
115
115
fn match_words < ' a , ' b > ( a : & ' a BitVec , b : & ' b BitVec ) -> ( MatchWords < ' a > , MatchWords < ' b > ) {
116
116
let a_len = a. storage . len ( ) ;
Original file line number Diff line number Diff line change 23
23
//!
24
24
//! Rust's collections can be grouped into four major categories:
25
25
//!
26
- //! * Sequences: `Vec`, `VecDeque`, `LinkedList`, `BitV `
26
+ //! * Sequences: `Vec`, `VecDeque`, `LinkedList`, `BitVec `
27
27
//! * Maps: `HashMap`, `BTreeMap`, `VecMap`
28
- //! * Sets: `HashSet`, `BTreeSet`, `BitVSet `
28
+ //! * Sets: `HashSet`, `BTreeSet`, `BitSet `
29
29
//! * Misc: `BinaryHeap`
30
30
//!
31
31
//! # When Should You Use Which Collection?
73
73
//! * There is no meaningful value to associate with your keys.
74
74
//! * You just want a set.
75
75
//!
76
- //! ### Use a `BitV ` when:
76
+ //! ### Use a `BitVec ` when:
77
77
//! * You want to store an unbounded number of booleans in a small space.
78
78
//! * You want a bit vector.
79
79
//!
80
- //! ### Use a `BitVSet ` when:
80
+ //! ### Use a `BitSet ` when:
81
81
//! * You want a `VecSet`.
82
82
//!
83
83
//! ### Use a `BinaryHeap` when:
You can’t perform that action at this time.
0 commit comments