diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-13 04:07:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-13 04:07:58 +0900 |
| commit | 71d8c1088607616fcc8c798f4f4bd6156be2fb74 (patch) | |
| tree | 16d88562b34bd80ae3213899a3bb7d89e6ca4cb2 | |
| parent | dde997710ab95c9e3d13c30d86907829aa5ee0e4 (diff) | |
| parent | d5b714355e42573b050e5b8d51f30509f99dec7e (diff) | |
| download | rust-71d8c1088607616fcc8c798f4f4bd6156be2fb74.tar.gz rust-71d8c1088607616fcc8c798f4f4bd6156be2fb74.zip | |
Rollup merge of #77784 - aDotInTheVoid:ffi-sealed_trait-intra-docs, r=jyn514
Fix intra-docs link in core::ffi::VaList At some point, `VaList` was changes to be a [wrapper](https://github.com/rust-lang/rust/blob/1661f77/library/core/src/ffi.rs#L177-L201) over `VaListImpl`, and now the `Arg` method exists on [`VaListImpl`](https://github.com/rust-lang/rust/blob/1661f77/library/core/src/ffi.rs#L333-L336). This PR fixes the intradoc links so that when `--document-private-items` is ran on std (via [patch](https://gist.github.com/aDotInTheVoid/42c82306210203f9c9093c952b765ab4)), it works
| -rw-r--r-- | library/core/src/ffi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ffi.rs b/library/core/src/ffi.rs index 4525ba78ba0..e146a97ae94 100644 --- a/library/core/src/ffi.rs +++ b/library/core/src/ffi.rs @@ -280,7 +280,7 @@ impl<'a, 'f: 'a> DerefMut for VaList<'a, 'f> { // within a private module. Once RFC 2145 has been implemented look into // improving this. mod sealed_trait { - /// Trait which permits the allowed types to be used with [VaList::arg]. + /// Trait which permits the allowed types to be used with [super::VaListImpl::arg]. #[unstable( feature = "c_variadic", reason = "the `c_variadic` feature has not been properly tested on \ |
