Remove unnecessary variable
This commit is contained in:
parent
b8c151c9d2
commit
14b6cf6fd7
1 changed files with 1 additions and 2 deletions
|
@ -990,8 +990,7 @@ impl<R: Idx, C: Idx> BitMatrix<R, C> {
|
||||||
pub fn insert_all_into_row(&mut self, row: R) {
|
pub fn insert_all_into_row(&mut self, row: R) {
|
||||||
assert!(row.index() < self.num_rows);
|
assert!(row.index() < self.num_rows);
|
||||||
let (start, end) = self.range(row);
|
let (start, end) = self.range(row);
|
||||||
let words = &mut self.words[..];
|
for word in self.words[start..end].iter_mut() {
|
||||||
for word in words[start..end].iter_mut() {
|
|
||||||
*word = !0;
|
*word = !0;
|
||||||
}
|
}
|
||||||
self.clear_excess_bits(row);
|
self.clear_excess_bits(row);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue