diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-02-17 09:47:49 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-02-18 09:09:12 -0500 |
| commit | 2b5720a15fd7e8ae3883dcaee556b000e962b052 (patch) | |
| tree | 967aa12a6089aca54098adf56e97abff223b8798 /src/libstd/old_io/timer.rs | |
| parent | 700c518f2afd4b759fb54b867aee62660188d870 (diff) | |
| download | rust-2b5720a15fd7e8ae3883dcaee556b000e962b052.tar.gz rust-2b5720a15fd7e8ae3883dcaee556b000e962b052.zip | |
Remove `i`, `is`, `u`, or `us` suffixes that are not necessary.
Diffstat (limited to 'src/libstd/old_io/timer.rs')
| -rw-r--r-- | src/libstd/old_io/timer.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/old_io/timer.rs b/src/libstd/old_io/timer.rs index 8b84e27eae1..1f2ef50fcae 100644 --- a/src/libstd/old_io/timer.rs +++ b/src/libstd/old_io/timer.rs @@ -121,7 +121,7 @@ impl Timer { /// let mut timer = Timer::new().unwrap(); /// let ten_milliseconds = timer.oneshot(Duration::milliseconds(10)); /// - /// for _ in 0u..100 { /* do work */ } + /// for _ in 0..100 { /* do work */ } /// /// // blocks until 10 ms after the `oneshot` call /// ten_milliseconds.recv().unwrap(); @@ -173,12 +173,12 @@ impl Timer { /// let mut timer = Timer::new().unwrap(); /// let ten_milliseconds = timer.periodic(Duration::milliseconds(10)); /// - /// for _ in 0u..100 { /* do work */ } + /// for _ in 0..100 { /* do work */ } /// /// // blocks until 10 ms after the `periodic` call /// ten_milliseconds.recv().unwrap(); /// - /// for _ in 0u..100 { /* do work */ } + /// for _ in 0..100 { /* do work */ } /// /// // blocks until 20 ms after the `periodic` call (*not* 10ms after the /// // previous `recv`) |
