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