Merge pull request #4704 from bugadani/docs

Executor: Fix safety requirement in `poll` docs
This commit is contained in:
Dario Nieuwenhuis 2025-09-23 16:24:59 +02:00 committed by GitHub
commit bcb2d98fc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -564,8 +564,6 @@ impl Executor {
///
/// # Safety
///
/// You must call `initialize` before calling this method.
///
/// You must NOT call `poll` reentrantly on the same executor.
///
/// In particular, note that `poll` may call the pender synchronously. Therefore, you