From 4d2ff45a8bdb096cb8bf0ab9e54ec77f2661bf87 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Mon, 31 Mar 2025 22:26:47 +0100 Subject: [PATCH] Update `Lua::poll_pending` doc (still hidden) --- src/state.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/state.rs b/src/state.rs index 239139c..d151afc 100644 --- a/src/state.rs +++ b/src/state.rs @@ -1976,6 +1976,8 @@ impl Lua { } /// Returns an internal `Poll::Pending` constant used for executing async callbacks. + /// + /// Every time when [`Future`] is Pending, Lua corotine is suspended with this constant. #[cfg(feature = "async")] #[doc(hidden)] #[inline(always)]