summaryrefslogtreecommitdiffstats
path: root/futures
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-01 00:24:43 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-02 03:44:14 +0200
commit4979635764da0ffefdfa7f9ff5070b23429d2e92 (patch)
treee1add6b7e4427277270fed9484958986ab8b74cc /futures
parent2fa6edf7a8b2a6e06b42ff9879fe81cbd1a957c6 (diff)
downloadiced-4979635764da0ffefdfa7f9ff5070b23429d2e92.tar.gz
iced-4979635764da0ffefdfa7f9ff5070b23429d2e92.tar.bz2
iced-4979635764da0ffefdfa7f9ff5070b23429d2e92.zip
Fix missing link in `Executor::enter` doc comment
Diffstat (limited to 'futures')
-rw-r--r--futures/src/executor.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/futures/src/executor.rs b/futures/src/executor.rs
index 5378c0b3..cbd34ee8 100644
--- a/futures/src/executor.rs
+++ b/futures/src/executor.rs
@@ -56,6 +56,8 @@ pub trait Executor: Sized {
/// before creating futures. This method can be leveraged to set up this
/// global state, call a function, restore the state, and obtain the result
/// of the call.
+ ///
+ /// [`Executor`]: trait.Executor.html
fn enter<R>(&self, f: impl FnOnce() -> R) -> R {
f()
}