From 4c0474d5731bd5979e935854f00f9e890d60577c Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Sat, 6 Jan 2024 15:04:18 +0000 Subject: [PATCH] Fix docsrs attr for Thread::reset --- src/thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.rs b/src/thread.rs index bf051fc2..415bd213 100644 --- a/src/thread.rs +++ b/src/thread.rs @@ -239,7 +239,7 @@ impl<'lua> Thread<'lua> { /// /// [Lua 5.4]: https://www.lua.org/manual/5.4/manual.html#lua_closethread #[cfg(any(feature = "lua54", feature = "luau"))] - #[cfg_attr(docsrs, doc(cfg(not(feature = "luau"))))] + #[cfg_attr(docsrs, doc(cfg(any(feature = "lua54", feature = "luau"))))] pub fn reset(&self, func: crate::function::Function<'lua>) -> Result<()> { let lua = self.0.lua; let thread_state = self.state();