Skip to content

Commit de978c4

Browse files
authored
task: remove duplicated code in JoinMap::remove_by_id (#7603)
1 parent 024bd60 commit de978c4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tokio-util/src/task/join_map.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,6 @@ where
761761
Ok(entry) => entry.remove().0,
762762
_ => return None,
763763
};
764-
self.hashes_by_task.remove(&id);
765764
Some(key)
766765
}
767766
}

0 commit comments

Comments
 (0)