From f2b5cc44de44074e4a84b5ecd28bc8af2d5fbffb Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Sat, 18 Apr 2026 16:09:17 +0100 Subject: [PATCH] `traits` module no longer need to be public The LuaNativeFn traits were moved to the `function` module and all other traits as re-exported. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 600bd1f..21f346d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -78,6 +78,7 @@ mod memory; mod multi; mod scope; mod stdlib; +mod traits; mod types; mod util; mod value; @@ -95,7 +96,6 @@ pub mod state; pub mod string; pub mod table; pub mod thread; -pub mod traits; pub mod userdata; pub use bstr::BString;