aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/package_sorter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/package_sorter.rs')
-rw-r--r--crates/shirabe/src/util/package_sorter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/util/package_sorter.rs b/crates/shirabe/src/util/package_sorter.rs
index 97b2561..8361dcc 100644
--- a/crates/shirabe/src/util/package_sorter.rs
+++ b/crates/shirabe/src/util/package_sorter.rs
@@ -112,7 +112,7 @@ impl ComputeImportanceHelper<'_> {
weight -= 1 - self.compute(user);
}
}
- self.computing.remove(name);
+ self.computing.shift_remove(name);
self.computed.insert(name.to_string(), weight);
weight
}