File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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 {
155155/// ```
156156#[ inline]
157157#[ 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" ) ]
159159pub fn min_align_of < T > ( ) -> usize {
160160 unsafe { intrinsics:: min_align_of :: < T > ( ) }
161161}
@@ -171,7 +171,7 @@ pub fn min_align_of<T>() -> usize {
171171/// ```
172172#[ inline]
173173#[ 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" ) ]
175175pub fn min_align_of_val < T : ?Sized > ( val : & T ) -> usize {
176176 unsafe { intrinsics:: min_align_of_val ( val) }
177177}
You can’t perform that action at this time.
0 commit comments