File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ pub trait LuaNativeFnMut<A: FromLuaMulti> {
226226
227227/// A trait for types that returns a future and can be used as Lua functions.
228228#[ cfg( feature = "async" ) ]
229+ #[ cfg_attr( docsrs, doc( cfg( feature = "async" ) ) ) ]
229230pub trait LuaNativeAsyncFn < A : FromLuaMulti > {
230231 type Output : IntoLuaMulti ;
231232
You can’t perform that action at this time.
0 commit comments