From 6b2ceb60c42f540a652b53861a8d6df1121a43d8 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Thu, 12 May 2022 19:24:12 +0100 Subject: [PATCH] Fix Send impl --- src/lua.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua.rs b/src/lua.rs index 5355ac8..08e39c0 100644 --- a/src/lua.rs +++ b/src/lua.rs @@ -226,7 +226,7 @@ const MULTIVALUE_CACHE_SIZE: usize = 32; /// Requires `feature = "send"` #[cfg(feature = "send")] #[cfg_attr(docsrs, doc(cfg(feature = "send")))] -unsafe impl Send for LuaInner {} +unsafe impl Send for Lua {} #[cfg(not(feature = "module"))] impl Drop for LuaInner {