about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-23 20:35:06 +0200
committerGitHub <noreply@github.com>2020-04-23 20:35:06 +0200
commit5f9ffb9c0237314c267736bfe7dc12b91e18141f (patch)
treea94859656fef3e2254a412a9ef70b43755bde06b /src/libcore
parent199f4deef0ac8ccfe02a8290eadd0ab3ae66d71c (diff)
parent0ad9a4d26e1757d55a4c3dc81f3cad01ce7db12a (diff)
Rollup merge of #71470 - TyPR124:fix-doc-links, r=jonas-schievink
Fix doc links

This fixes a few doc links which were causing `cargo doc` to fail when using `--document-private-items --document-hidden-items` on libstd. Most of the fixes are just escaping '[' and ']' characters in doc comments, and one change actually fixes a doc link.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ffi.rs b/src/libcore/ffi.rs
index 6277da4f123..7bc2866dc2e 100644
--- a/src/libcore/ffi.rs
+++ b/src/libcore/ffi.rs
@@ -282,7 +282,7 @@ impl<'a, 'f: 'a> DerefMut for VaList<'a, 'f> {
 mod sealed_trait {
     /// Trait which whitelists the allowed types to be used with [VaList::arg]
     ///
-    /// [VaList::va_arg]: struct.VaList.html#method.arg
+    /// [VaList::arg]: ../struct.VaList.html#method.arg
     #[unstable(
         feature = "c_variadic",
         reason = "the `c_variadic` feature has not been properly tested on \