Skip to content

Commit 35fa762

Browse files
committed
Update docs
1 parent 446d63a commit 35fa762

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ pub use crate::hook::HookTriggers;
128128
pub use crate::{buffer::Buffer, chunk::Compiler, function::CoverageInfo, vector::Vector};
129129

130130
#[cfg(feature = "async")]
131+
#[cfg_attr(docsrs, doc(cfg(feature = "async")))]
131132
pub use crate::{thread::AsyncThread, traits::LuaNativeAsyncFn};
132133

133134
#[cfg(feature = "serialize")]

src/state.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ impl Lua {
14591459
}
14601460

14611461
/// Calls the given function with a [`Scope`] parameter, giving the function the ability to
1462-
/// create userdata and callbacks from Rust types that are `!Send`` or non-`'static`.
1462+
/// create userdata and callbacks from Rust types that are `!Send` or non-`'static`.
14631463
///
14641464
/// The lifetime of any function or userdata created through [`Scope`] lasts only until the
14651465
/// completion of this method call, on completion all such created values are automatically

0 commit comments

Comments
 (0)