File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ pub fn size_of_val<T: ?Sized>(val: &T) -> usize {
155
155
/// ```
156
156
#[ inline]
157
157
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
158
- #[ deprecated( reason = "use `align_of` instead" , since = "1.1 .0" ) ]
158
+ #[ deprecated( reason = "use `align_of` instead" , since = "1.2 .0" ) ]
159
159
pub fn min_align_of < T > ( ) -> usize {
160
160
unsafe { intrinsics:: min_align_of :: < T > ( ) }
161
161
}
@@ -171,7 +171,7 @@ pub fn min_align_of<T>() -> usize {
171
171
/// ```
172
172
#[ inline]
173
173
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
174
- #[ deprecated( reason = "use `align_of_val` instead" , since = "1.1 .0" ) ]
174
+ #[ deprecated( reason = "use `align_of_val` instead" , since = "1.2 .0" ) ]
175
175
pub fn min_align_of_val < T : ?Sized > ( val : & T ) -> usize {
176
176
unsafe { intrinsics:: min_align_of_val ( val) }
177
177
}
You can’t perform that action at this time.
0 commit comments