Skip to content

Commit

Permalink
Rollup merge of rust-lang#66360 - elichai:2019-11-vec-link, r=dtolnay
Browse files Browse the repository at this point in the history
Fix link to Exten in Vec::set_len

Fixes rust-lang#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`.
  • Loading branch information
JohnTitor authored Nov 14, 2019
2 parents 20c3562 + 0cd111f commit 28c0e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28c0e40

Please sign in to comment.