Update docs

This commit is contained in:
Alex Orlenko
2024-10-25 10:59:36 +02:00
parent 446d63a77e
commit 35fa76263e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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