mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
Update docs
This commit is contained in:
@@ -128,6 +128,7 @@ pub use crate::hook::HookTriggers;
|
||||
pub use crate::{buffer::Buffer, chunk::Compiler, function::CoverageInfo, vector::Vector};
|
||||
|
||||
#[cfg(feature = "async")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "async")))]
|
||||
pub use crate::{thread::AsyncThread, traits::LuaNativeAsyncFn};
|
||||
|
||||
#[cfg(feature = "serialize")]
|
||||
|
||||
+1
-1
@@ -1459,7 +1459,7 @@ impl Lua {
|
||||
}
|
||||
|
||||
/// Calls the given function with a [`Scope`] parameter, giving the function the ability to
|
||||
/// create userdata and callbacks from Rust types that are `!Send`` or non-`'static`.
|
||||
/// create userdata and callbacks from Rust types that are `!Send` or non-`'static`.
|
||||
///
|
||||
/// The lifetime of any function or userdata created through [`Scope`] lasts only until the
|
||||
/// completion of this method call, on completion all such created values are automatically
|
||||
|
||||
Reference in New Issue
Block a user