From 6d9bdf975aba3cd2f571f4e3695136f2ee85f37f Mon Sep 17 00:00:00 2001 From: Palmer Cox
Date: Sat, 15 Feb 2014 16:15:03 -0500 Subject: Rename all variables that have uppercase characters in their names to use only lowercase characters --- src/libsync/sync/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libsync') diff --git a/src/libsync/sync/mod.rs b/src/libsync/sync/mod.rs index 9fe585c263f..34ec4ca28cf 100644 --- a/src/libsync/sync/mod.rs +++ b/src/libsync/sync/mod.rs @@ -217,7 +217,7 @@ impl<'a> Condvar<'a> { * wait() is equivalent to wait_on(0). */ pub fn wait_on(&self, condvar_id: uint) { - let mut WaitEnd = None; + let mut wait_end = None; let mut out_of_bounds = None; // Release lock, 'atomically' enqueuing ourselves in so doing. unsafe { @@ -230,7 +230,7 @@ impl<'a> Condvar<'a> { } // Create waiter nobe, and enqueue ourself to // be woken up by a signaller. - WaitEnd = Some(state.blocked[condvar_id].wait_end()); + wait_end = Some(state.blocked[condvar_id].wait_end()); } else { out_of_bounds = Some(state.blocked.len()); } @@ -244,7 +244,7 @@ impl<'a> Condvar<'a> { // signaller already sent -- I mean 'unconditionally' in contrast // with acquire().) (|| { - let _ = WaitEnd.take_unwrap().recv(); + let _ = wait_end.take_unwrap().recv(); }).finally(|| { // Reacquire the condvar. match self.order { -- cgit 1.4.1-3-g733a5