diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2017-01-29 13:31:47 +0000 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2017-01-29 13:31:47 +0000 |
| commit | 9128f6100c9bfe2c2c22d85ccec92f01166f5d25 (patch) | |
| tree | 105ea91f8eee10021f4484f281b1cc1409dcd65e /src/libstd/sync/rwlock.rs | |
| parent | 010c3e25c453d0217b114aa125a956cd99f60c88 (diff) | |
| download | rust-9128f6100c9bfe2c2c22d85ccec92f01166f5d25.tar.gz rust-9128f6100c9bfe2c2c22d85ccec92f01166f5d25.zip | |
Fix a few impl stability attributes
The versions show up in rustdoc.
Diffstat (limited to 'src/libstd/sync/rwlock.rs')
| -rw-r--r-- | src/libstd/sync/rwlock.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs index adbb98e4b1f..a3db0adeda0 100644 --- a/src/libstd/sync/rwlock.rs +++ b/src/libstd/sync/rwlock.rs @@ -361,7 +361,7 @@ impl<'rwlock, T: ?Sized> RwLockWriteGuard<'rwlock, T> { } } -#[stable(feature = "std_debug", since = "1.15.0")] +#[stable(feature = "std_debug", since = "1.16.0")] impl<'a, T: fmt::Debug> fmt::Debug for RwLockReadGuard<'a, T> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { f.debug_struct("RwLockReadGuard") @@ -370,7 +370,7 @@ impl<'a, T: fmt::Debug> fmt::Debug for RwLockReadGuard<'a, T> { } } -#[stable(feature = "std_debug", since = "1.15.0")] +#[stable(feature = "std_debug", since = "1.16.0")] impl<'a, T: fmt::Debug> fmt::Debug for RwLockWriteGuard<'a, T> { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { f.debug_struct("RwLockWriteGuard") |
