diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-15 11:18:49 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-16 10:13:56 +1100 |
| commit | b87ed605c0ef27f5532ec30c92128bd890de5955 (patch) | |
| tree | 55810612bec1de77a67738853ea98539582fa809 /src/libstd/rt | |
| parent | 75d92dbabe5bab3a1ca85c305a3773bca2e38145 (diff) | |
| download | rust-b87ed605c0ef27f5532ec30c92128bd890de5955.tar.gz rust-b87ed605c0ef27f5532ec30c92128bd890de5955.zip | |
std: Rename unstable::mutex::Mutex to StaticNativeMutex.
This better reflects its purpose and design.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/args.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/args.rs b/src/libstd/rt/args.rs index c91797c9559..6f73265978b 100644 --- a/src/libstd/rt/args.rs +++ b/src/libstd/rt/args.rs @@ -68,11 +68,11 @@ mod imp { use option::{Option, Some, None}; use ptr::RawPtr; use iter::Iterator; - use unstable::mutex::{Mutex, MUTEX_INIT}; + use unstable::mutex::{StaticNativeMutex, NATIVE_MUTEX_INIT}; use mem; static mut global_args_ptr: uint = 0; - static mut lock: Mutex = MUTEX_INIT; + static mut lock: StaticNativeMutex = NATIVE_MUTEX_INIT; #[cfg(not(test))] pub unsafe fn init(argc: int, argv: **u8) { |
