Skip to content

Commit b26cce5

Browse files
committed
link to items in pin module to std docs
1 parent 3683bf2 commit b26cce5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/liballoc/pin.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
//!
3636
//! [`PinMut`]: struct.PinMut.html
3737
//! [`PinBox`]: struct.PinBox.html
38-
//! [`Unpin`]: ../../core/marker/trait.Unpin.html
39-
//! [`swap`]: ../../core/mem/fn.swap.html
38+
//! [`Unpin`]: trait.Unpin.html
39+
//! [`swap`]: ../../std/mem/fn.swap.html
4040
//! [`Box`]: ../boxed/struct.Box.html
4141
//!
4242
//! # Examples
@@ -115,7 +115,7 @@ use boxed::Box;
115115
/// See the [module documentation] for furthur explaination on pinning.
116116
///
117117
/// [`Box`]: ../boxed/struct.Box.html
118-
/// [`Unpin`]: ../../core/marker/trait.Unpin.html
118+
/// [`Unpin`]: ../../std/marker/trait.Unpin.html
119119
/// [module documentation]: index.html
120120
#[unstable(feature = "pin", issue = "49150")]
121121
#[fundamental]

src/libcore/marker.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -632,9 +632,9 @@ unsafe impl<'a, T: ?Sized> Freeze for &'a mut T {}
632632
///
633633
/// This trait is automatically implemented for almost every type.
634634
///
635-
/// [`replace`]: ../../core/mem/fn.replace.html
635+
/// [`replace`]: ../../std/mem/fn.replace.html
636636
/// [`PinMut`]: ../pin/struct.PinMut.html
637-
/// [`pin module`]: ../../alloc/pin/index.html
637+
/// [`pin module`]: ../../std/pin/index.html
638638
#[unstable(feature = "pin", issue = "49150")]
639639
pub auto trait Unpin {}
640640

src/libcore/pin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ use ops::{Deref, DerefMut, CoerceUnsized};
2929
///
3030
/// See the [`pin` module] documentation for furthur explanation on pinning.
3131
///
32-
/// [`Unpin`]: ../../core/marker/trait.Unpin.html
33-
/// [`pin` module]: ../../alloc/pin/index.html
32+
/// [`Unpin`]: ../../std/marker/trait.Unpin.html
33+
/// [`pin` module]: ../../std/pin/index.html
3434
#[unstable(feature = "pin", issue = "49150")]
3535
#[fundamental]
3636
pub struct PinMut<'a, T: ?Sized + 'a> {

0 commit comments

Comments
 (0)