about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2017-07-10 02:07:29 +0100
committerOliver Middleton <olliemail27@gmail.com>2017-07-10 02:07:29 +0100
commitf2566bbaebc4ea56bc3717ee8c04bee7d5c0a8d3 (patch)
tree1afefb5f9b70971fff0572eb24c52682ff8a480d /src/libcore
parent55ad73b0266bef8dfb3ee6f9d7d6b3cf5d119e77 (diff)
downloadrust-f2566bbaebc4ea56bc3717ee8c04bee7d5c0a8d3.tar.gz
rust-f2566bbaebc4ea56bc3717ee8c04bee7d5c0a8d3.zip
Correct some stability attributes
These show up in rustdoc so need to be correct.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/cell.rs4
-rw-r--r--src/libcore/char.rs6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs
index 1eebf67ad04..35744f3f16b 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -942,7 +942,7 @@ impl<'b, T: ?Sized> Ref<'b, T> {
 #[unstable(feature = "coerce_unsized", issue = "27732")]
 impl<'b, T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Ref<'b, U>> for Ref<'b, T> {}
 
-#[stable(feature = "std_guard_impls", since = "1.20")]
+#[stable(feature = "std_guard_impls", since = "1.20.0")]
 impl<'a, T: ?Sized + fmt::Display> fmt::Display for Ref<'a, T> {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         self.value.fmt(f)
@@ -1041,7 +1041,7 @@ impl<'b, T: ?Sized> DerefMut for RefMut<'b, T> {
 #[unstable(feature = "coerce_unsized", issue = "27732")]
 impl<'b, T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<RefMut<'b, U>> for RefMut<'b, T> {}
 
-#[stable(feature = "std_guard_impls", since = "1.20")]
+#[stable(feature = "std_guard_impls", since = "1.20.0")]
 impl<'a, T: ?Sized + fmt::Display> fmt::Display for RefMut<'a, T> {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         self.value.fmt(f)
diff --git a/src/libcore/char.rs b/src/libcore/char.rs
index 44f5fdbf431..bb4cb0ac3b2 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -210,7 +210,7 @@ impl From<u8> for char {
 
 
 /// An error which can be returned when parsing a char.
-#[stable(feature = "char_from_str", since = "1.19.0")]
+#[stable(feature = "char_from_str", since = "1.20.0")]
 #[derive(Clone, Debug)]
 pub struct ParseCharError {
     kind: CharErrorKind,
@@ -237,7 +237,7 @@ enum CharErrorKind {
     TooManyChars,
 }
 
-#[stable(feature = "char_from_str", since = "1.19.0")]
+#[stable(feature = "char_from_str", since = "1.20.0")]
 impl fmt::Display for ParseCharError {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         self.__description().fmt(f)
@@ -245,7 +245,7 @@ impl fmt::Display for ParseCharError {
 }
 
 
-#[stable(feature = "char_from_str", since = "1.19.0")]
+#[stable(feature = "char_from_str", since = "1.20.0")]
 impl FromStr for char {
     type Err = ParseCharError;