diff options
| author | ville-h <ville3.14159@gmail.com> | 2015-01-04 09:03:27 +0200 |
|---|---|---|
| committer | ville-h <ville3.14159@gmail.com> | 2015-01-04 09:03:27 +0200 |
| commit | 5344ae2d4f66f5e8392b325320eeec0af29f503c (patch) | |
| tree | 780ffdafe1d7829f188d1b042619f0172559582e /src/libstd/sync | |
| parent | 817f75d2fbc15dd152c9473e012ec5271cb5e94b (diff) | |
| download | rust-5344ae2d4f66f5e8392b325320eeec0af29f503c.tar.gz rust-5344ae2d4f66f5e8392b325320eeec0af29f503c.zip | |
rename std::sync::RWLOCK_INIT to RW_LOCK_INIT
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/rwlock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs index 04efbf893ea..7b673838339 100644 --- a/src/libstd/sync/rwlock.rs +++ b/src/libstd/sync/rwlock.rs @@ -101,7 +101,7 @@ unsafe impl Sync for StaticRwLock {} /// Constant initialization for a statically-initialized rwlock. #[unstable = "may be merged with RwLock in the future"] -pub const RWLOCK_INIT: StaticRwLock = StaticRwLock { +pub const RW_LOCK_INIT: StaticRwLock = StaticRwLock { lock: sys::RWLOCK_INIT, poison: poison::FLAG_INIT, }; |
