about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-11-14 14:16:22 +0900
committerGitHub <noreply@github.com>2019-11-14 14:16:22 +0900
commit28c0e40b44f81eb810643d9286beb26c4e22238e (patch)
tree4b645d4388063b0cf54681028d0bf888f15ffb87 /src/liballoc
parent20c356263d14df237aa915dc255d55a6158a197d (diff)
parent0cd111fe97ac25858bba1345f5b0f5a6870aff9f (diff)
downloadrust-28c0e40b44f81eb810643d9286beb26c4e22238e.tar.gz
rust-28c0e40b44f81eb810643d9286beb26c4e22238e.zip
Rollup merge of #66360 - elichai:2019-11-vec-link, r=dtolnay
Fix link to Exten in Vec::set_len

Fixes #66354

Unrelated to this PR, I think we should stop using `../../std/MODULE` and replace it with `../MODULE` that way if you're looking at docs in `core` or `alloc` clicking at a link won't forward you to `std`.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index 5b53a6a2899..b1741f00507 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -861,7 +861,7 @@ impl<T> Vec<T> {
     ///
     /// [`truncate`]: #method.truncate
     /// [`resize`]: #method.resize
-    /// [`extend`]: #method.extend-1
+    /// [`extend`]: ../../std/iter/trait.Extend.html#tymethod.extend
     /// [`clear`]: #method.clear
     ///
     /// # Safety