diff options
author | damienrg <damienrg@users.noreply.github.com> | 2020-04-21 13:08:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 13:08:07 +0200 |
commit | 43bbbf61a2a87a879834ec644fd4f1c598e77640 (patch) | |
tree | bee07bc4929dab3b374e490bcb1726999ade1389 /tokio/src/runtime/mod.rs | |
parent | 282b00cbe888a96669877ce70662fba87e8c0e3c (diff) |
Remove relative link when possible and fix invalid links (#2423)
The link to tokio::main was relative to tokio_macros crate in the source
directory. This is why it worked in local build of documentation and not
in doc.rs.
Refs: #1473
Diffstat (limited to 'tokio/src/runtime/mod.rs')
-rw-r--r-- | tokio/src/runtime/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/runtime/mod.rs b/tokio/src/runtime/mod.rs index 51667457..2d34e2b6 100644 --- a/tokio/src/runtime/mod.rs +++ b/tokio/src/runtime/mod.rs @@ -334,7 +334,7 @@ impl Runtime { /// ``` /// /// [mod]: index.html - /// [main]: ../../tokio_macros/attr.main.html + /// [main]: ../attr.main.html /// [threaded scheduler]: index.html#threaded-scheduler /// [basic scheduler]: index.html#basic-scheduler /// [runtime builder]: crate::runtime::Builder |