diff options
| author | bors <bors@rust-lang.org> | 2020-09-03 05:53:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-03 05:53:48 +0000 |
| commit | 08deb863bdebfcbbb71c18acf903eca84f1df4e7 (patch) | |
| tree | 2d3aa4dadd1b91d2506952df2fd6e1bbc12ad6af /library/core/src | |
| parent | 1e33c742ca572a93d97106876041c241c23a562a (diff) | |
| parent | bb103476a9375787f7e610ab1883093f8358ed70 (diff) | |
| download | rust-08deb863bdebfcbbb71c18acf903eca84f1df4e7.tar.gz rust-08deb863bdebfcbbb71c18acf903eca84f1df4e7.zip | |
Auto merge of #76235 - jyn514:std-intra-links, r=poliorcetics
Convert many files to intra-doc links Helps with https://github.com/rust-lang/rust/issues/75080 r? @poliorcetics I recommend reviewing one commit at a time, but the diff is small enough you can do it all at once if you like :)
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/pin.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/pin.rs b/library/core/src/pin.rs index 8f60c4787d4..a12a22fa26d 100644 --- a/library/core/src/pin.rs +++ b/library/core/src/pin.rs @@ -661,7 +661,7 @@ impl<'a, T: ?Sized> Pin<&'a T> { /// because it is one of the fields of that value), and also that you do /// not move out of the argument you receive to the interior function. /// - /// [`pin` module]: ../../std/pin/index.html#projections-and-structural-pinning + /// [`pin` module]: self#projections-and-structural-pinning #[stable(feature = "pin", since = "1.33.0")] pub unsafe fn map_unchecked<U, F>(self, func: F) -> Pin<&'a U> where @@ -692,7 +692,7 @@ impl<'a, T: ?Sized> Pin<&'a T> { /// the `Pin` itself. This method allows turning the `Pin` into a reference /// with the same lifetime as the original `Pin`. /// - /// ["pinning projections"]: ../../std/pin/index.html#projections-and-structural-pinning + /// ["pinning projections"]: self#projections-and-structural-pinning #[stable(feature = "pin", since = "1.33.0")] #[inline(always)] pub fn get_ref(self) -> &'a T { @@ -756,7 +756,7 @@ impl<'a, T: ?Sized> Pin<&'a mut T> { /// because it is one of the fields of that value), and also that you do /// not move out of the argument you receive to the interior function. /// - /// [`pin` module]: ../../std/pin/index.html#projections-and-structural-pinning + /// [`pin` module]: self#projections-and-structural-pinning #[stable(feature = "pin", since = "1.33.0")] pub unsafe fn map_unchecked_mut<U, F>(self, func: F) -> Pin<&'a mut U> where |
