We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 463ce0b commit 583d682Copy full SHA for 583d682
src/action/mod.rs
@@ -79,10 +79,11 @@ impl UnitTrace {
79
}
80
81
pub fn squash_with_target_unit_traces(&mut self) {
82
- for unit_ids in self.with_target_unit_trace.unit_ids_applied_by_key.values() {
+ let unit_ids = std::mem::take(&mut self.with_target_unit_trace);
83
+
84
+ for (_, unit_ids) in unit_ids.unit_ids_applied_by_key {
85
for unit_id in unit_ids {
- self.unit_ids_applied.insert(unit_id.clone());
- self.unit_ids_seen.insert(unit_id.clone());
86
+ self.add_unit_id(unit_id)
87
88
89
0 commit comments