summaryrefslogtreecommitdiff
path: root/src/thread.rs
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2020-04-20 01:52:01 +0100
committerAlex Orlenko <zxteam@protonmail.com>2020-04-20 01:52:01 +0100
commit0efa0fcb6a642c2086dd8fb72c8d6d817106d3c4 (patch)
tree48904e7d2df7d42eb391a1b0bc4c038fb170a521 /src/thread.rs
parent4e19ae6ccfc992bc4b32e8c3198cf5c35244e395 (diff)
downloadmlua-0efa0fcb6a642c2086dd8fb72c8d6d817106d3c4.zip
Update documentation
Diffstat (limited to 'src/thread.rs')
-rw-r--r--src/thread.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/thread.rs b/src/thread.rs
index ce1dd57..ebbed37 100644
--- a/src/thread.rs
+++ b/src/thread.rs
@@ -45,7 +45,10 @@ pub enum ThreadStatus {
#[derive(Clone, Debug)]
pub struct Thread<'lua>(pub(crate) LuaRef<'lua>);
-/// Thread (coroutine) representation as an async Future or Stream.
+/// Thread (coroutine) representation as an async [`Future`] or [`Stream`].
+///
+/// [`Future`]: ../futures_core/future/trait.Future.html
+/// [`Stream`]: ../futures_core/stream/trait.Stream.html
#[cfg(feature = "async")]
#[derive(Debug)]
pub struct AsyncThread<'lua, R> {