From 52d13687e1de81973a074ea7e77fc305dd443fb3 Mon Sep 17 00:00:00 2001 From: Nanami <312767031+nanami-0713@users.noreply.github.com> Date: Sun, 25 Oct 2026 00:18:10 +0800 Subject: [PATCH] docs(pool): document extend's non-reentrancy requirement --- asyncband/src/pool/unbounded.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asyncband/src/pool/unbounded.rs b/asyncband/src/pool/unbounded.rs index e4478433..793e7860 100644 --- a/asyncband/src/pool/unbounded.rs +++ b/asyncband/src/pool/unbounded.rs @@ -389,6 +389,8 @@ impl> Pool { /// Extends the pool with the objects of an iterator. /// + /// The iterator is consumed while the pool is locked and must not call back into it. + /// /// # Examples /// /// ```