From 2b5720a15fd7e8ae3883dcaee556b000e962b052 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 17 Feb 2015 09:47:49 -0500 Subject: Remove `i`, `is`, `u`, or `us` suffixes that are not necessary. --- src/libstd/sync/once.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstd/sync/once.rs') diff --git a/src/libstd/sync/once.rs b/src/libstd/sync/once.rs index 1e87c0d612b..97f985e21e8 100644 --- a/src/libstd/sync/once.rs +++ b/src/libstd/sync/once.rs @@ -147,10 +147,10 @@ mod test { static mut run: bool = false; let (tx, rx) = channel(); - for _ in 0u..10 { + for _ in 0..10 { let tx = tx.clone(); thread::spawn(move|| { - for _ in 0u..4 { thread::yield_now() } + for _ in 0..4 { thread::yield_now() } unsafe { O.call_once(|| { assert!(!run); @@ -170,7 +170,7 @@ mod test { assert!(run); } - for _ in 0u..10 { + for _ in 0..10 { rx.recv().unwrap(); } } -- cgit 1.4.1-3-g733a5