about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-06-26 15:00:31 -0700
committerHuon Wilson <dbau.pp+github@gmail.com>2015-06-26 15:00:31 -0700
commit0f6d4aa786e565c91df2f361dfb3bee5b202bdca (patch)
treeab18027ab5f96c0b213ed09a3497f46b643ceac0 /src
parent225b116829ef76b72f01c2ebf718259c20aa7e14 (diff)
downloadrust-0f6d4aa786e565c91df2f361dfb3bee5b202bdca.tar.gz
rust-0f6d4aa786e565c91df2f361dfb3bee5b202bdca.zip
core: fix deprecation since version of align_of_min.
These will first be deprecated in 1.2.0, not 1.1.0.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/mem.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index 4177e0666e3..b53b61e5173 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -155,7 +155,7 @@ pub fn size_of_val<T: ?Sized>(val: &T) -> usize {
 /// ```
 #[inline]
 #[stable(feature = "rust1", since = "1.0.0")]
-#[deprecated(reason = "use `align_of` instead", since = "1.1.0")]
+#[deprecated(reason = "use `align_of` instead", since = "1.2.0")]
 pub fn min_align_of<T>() -> usize {
     unsafe { intrinsics::min_align_of::<T>() }
 }
@@ -171,7 +171,7 @@ pub fn min_align_of<T>() -> usize {
 /// ```
 #[inline]
 #[stable(feature = "rust1", since = "1.0.0")]
-#[deprecated(reason = "use `align_of_val` instead", since = "1.1.0")]
+#[deprecated(reason = "use `align_of_val` instead", since = "1.2.0")]
 pub fn min_align_of_val<T: ?Sized>(val: &T) -> usize {
     unsafe { intrinsics::min_align_of_val(val) }
 }