summaryrefslogtreecommitdiff
path: root/src/function.rs
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2020-12-30 01:43:00 +0000
committerAlex Orlenko <zxteam@protonmail.com>2020-12-31 13:39:38 +0000
commit9f82cbe0c5255de3b82971f54a3e3c4355eba351 (patch)
tree1f2da31603a70cc16818e73167edbe52ddbf9257 /src/function.rs
parent1a81f8d4474dbff5b30bd7e9fc62c1fe8b735196 (diff)
downloadmlua-9f82cbe0c5255de3b82971f54a3e3c4355eba351.zip
Update documentation
Diffstat (limited to 'src/function.rs')
-rw-r--r--src/function.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/function.rs b/src/function.rs
index 45ad4e1..9a9c205 100644
--- a/src/function.rs
+++ b/src/function.rs
@@ -119,6 +119,7 @@ impl<'lua> Function<'lua> {
///
/// [`AsyncThread`]: struct.AsyncThread.html
#[cfg(feature = "async")]
+ #[cfg_attr(docsrs, doc(cfg(feature = "async")))]
pub fn call_async<'fut, A, R>(&self, args: A) -> LocalBoxFuture<'fut, Result<R>>
where
'lua: 'fut,