mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
task: remove duplicated code in JoinMap::remove_by_id (#7603)
This commit is contained in:
@@ -761,7 +761,6 @@ where
|
||||
Ok(entry) => entry.remove().0,
|
||||
_ => return None,
|
||||
};
|
||||
self.hashes_by_task.remove(&id);
|
||||
Some(key)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user