doc: remove confusing comment

This commit is contained in:
Joonas Koivunen
2024-07-25 12:24:01 +00:00
parent 2be3027fa5
commit 5ece7af497

View File

@@ -310,7 +310,6 @@ impl SharedState {
self.inner.lock().unwrap().cancel(attempt);
});
// the gate being entered does not matter much, but lets be strict
if attempt.gate_entered.is_none() {
let entered = timeline.gate.enter().map_err(|_| Error::ShuttingDown)?;
attempt.gate_entered = Some(entered);