about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-07-12 06:58:49 -0600
committerGitHub <noreply@github.com>2017-07-12 06:58:49 -0600
commit388fce9dab429e2cc90588727ae07a4c878bd7b3 (patch)
treee6e3c09e5d62df96ca9c574fdaa5274885751978 /src/libstd
parentcc20ab1f2509de4ef0a9953e514d62fa23b6c572 (diff)
parentf2566bbaebc4ea56bc3717ee8c04bee7d5c0a8d3 (diff)
downloadrust-388fce9dab429e2cc90588727ae07a4c878bd7b3.tar.gz
rust-388fce9dab429e2cc90588727ae07a4c878bd7b3.zip
Rollup merge of #43137 - ollie27:stab, r=aturon
Correct some stability attributes

These show up in rustdoc so need to be correct.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/error.rs2
-rw-r--r--src/libstd/sync/mutex.rs2
-rw-r--r--src/libstd/sync/rwlock.rs4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index d77f817659c..d1c2bfb96b3 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -340,7 +340,7 @@ impl Error for char::CharTryFromError {
     }
 }
 
-#[stable(feature = "char_from_str", since = "1.19.0")]
+#[stable(feature = "char_from_str", since = "1.20.0")]
 impl Error for char::ParseCharError {
     fn description(&self) -> &str {
         self.__description()
diff --git a/src/libstd/sync/mutex.rs b/src/libstd/sync/mutex.rs
index fc6c7de9ef0..62d8de18f4b 100644
--- a/src/libstd/sync/mutex.rs
+++ b/src/libstd/sync/mutex.rs
@@ -440,7 +440,7 @@ impl<'a, T: ?Sized + fmt::Debug> fmt::Debug for MutexGuard<'a, 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 MutexGuard<'a, T> {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         (**self).fmt(f)
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs
index 944801e8a3b..5c5231f4e84 100644
--- a/src/libstd/sync/rwlock.rs
+++ b/src/libstd/sync/rwlock.rs
@@ -370,7 +370,7 @@ impl<'a, T: fmt::Debug> fmt::Debug for RwLockReadGuard<'a, 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 RwLockReadGuard<'a, T> {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         (**self).fmt(f)
@@ -386,7 +386,7 @@ impl<'a, T: fmt::Debug> fmt::Debug for RwLockWriteGuard<'a, 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 RwLockWriteGuard<'a, T> {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         (**self).fmt(f)