From 5dab821b295564a79611f99643f2a7b9f929c9e0 Mon Sep 17 00:00:00 2001 From: hcpl Date: Tue, 13 Mar 2018 20:43:05 +0200 Subject: [PATCH] Fix docs markup (#225) --- src/executor/mod.rs | 2 +- tokio-executor/src/global.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/executor/mod.rs b/src/executor/mod.rs index b252632b3..465439bb6 100644 --- a/src/executor/mod.rs +++ b/src/executor/mod.rs @@ -198,7 +198,7 @@ pub struct Spawn(()); /// onto the default executor returns an error. To avoid the panic, use /// [`DefaultExecutor`]. /// -/// [`DefaultExecutor`]: # +/// [`DefaultExecutor`]: struct.DefaultExecutor.html pub fn spawn(f: F) -> Spawn where F: Future + 'static + Send { diff --git a/tokio-executor/src/global.rs b/tokio-executor/src/global.rs index 5c1435e11..239af6eba 100644 --- a/tokio-executor/src/global.rs +++ b/tokio-executor/src/global.rs @@ -28,7 +28,7 @@ impl DefaultExecutor { /// Futures may be spawned onto the default executor using this handle. /// /// The returned handle will reference whichever executor is configured as - /// the default **at the time `spawn` is called`. This enables + /// the default **at the time `spawn` is called**. This enables /// `DefaultExecutor::current()` to be called before an execution context is /// setup, then passed **into** an execution context before it is used. pub fn current() -> DefaultExecutor {