File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ impl Layout {
85
85
/// # Safety
86
86
///
87
87
/// This function is unsafe as it does not verify the preconditions from
88
- /// [`Layout::from_size_align`](#method.from_size_align) .
88
+ /// [`Layout::from_size_align`].
89
89
#[ stable( feature = "alloc_layout" , since = "1.28.0" ) ]
90
90
#[ rustc_const_stable( feature = "alloc_layout" , since = "1.28.0" ) ]
91
91
#[ inline]
@@ -195,8 +195,7 @@ impl Layout {
195
195
/// will *still* have size 16.
196
196
///
197
197
/// Returns an error if the combination of `self.size()` and the given
198
- /// `align` violates the conditions listed in
199
- /// [`Layout::from_size_align`](#method.from_size_align).
198
+ /// `align` violates the conditions listed in [`Layout::from_size_align`].
200
199
#[ stable( feature = "alloc_layout_manipulation" , since = "1.44.0" ) ]
201
200
#[ inline]
202
201
pub fn align_to ( & self , align : usize ) -> Result < Self , LayoutErr > {
You can’t perform that action at this time.
0 commit comments