Lint
This commit is contained in:
parent
4a0f00f2a4
commit
18ace123dc
13 changed files with 59 additions and 33 deletions
|
|
@ -914,8 +914,7 @@ impl PropertyData {
|
|||
|
||||
// Re-key tenure_history by permuted row index
|
||||
let tenure_history: FxHashMap<u32, Vec<TenureEvent>> = {
|
||||
let mut map =
|
||||
FxHashMap::with_capacity_and_hasher(tenure_raw.len(), Default::default());
|
||||
let mut map = FxHashMap::with_capacity_and_hasher(tenure_raw.len(), Default::default());
|
||||
for (new_row, &old_row) in perm.iter().enumerate() {
|
||||
if let Some(events) = tenure_raw.remove(&old_row) {
|
||||
map.insert(new_row as u32, events);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue