diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2014-06-08 13:22:49 -0400 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2014-06-08 13:39:42 -0400 |
| commit | 45e56eccbed3161dd9de547c6c2dcf618114a484 (patch) | |
| tree | 4eb63b08a1f5beebc194419162b0f5c5dce1c0e5 /src/libstd/io/timer.rs | |
| parent | 17ba0cf4289d6da632aab4cf242ad74dea94fe37 (diff) | |
| download | rust-45e56eccbed3161dd9de547c6c2dcf618114a484.tar.gz rust-45e56eccbed3161dd9de547c6c2dcf618114a484.zip | |
Fix spelling errors in comments.
Diffstat (limited to 'src/libstd/io/timer.rs')
| -rw-r--r-- | src/libstd/io/timer.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/io/timer.rs b/src/libstd/io/timer.rs index 67b6d3c476c..1529cf8f92d 100644 --- a/src/libstd/io/timer.rs +++ b/src/libstd/io/timer.rs @@ -218,7 +218,7 @@ mod test { iotest!(fn test_io_timer_oneshot_then_sleep() { let mut timer = Timer::new().unwrap(); let rx = timer.oneshot(100000000000); - timer.sleep(1); // this should inalidate rx + timer.sleep(1); // this should invalidate rx assert_eq!(rx.recv_opt(), Err(())); }) @@ -352,7 +352,7 @@ mod test { let mut timer1 = Timer::new().unwrap(); timer1.oneshot(1); let mut timer2 = Timer::new().unwrap(); - // while sleeping, the prevous timer should fire and not have its + // while sleeping, the previous timer should fire and not have its // callback do something terrible. timer2.sleep(2); }) @@ -361,7 +361,7 @@ mod test { let mut timer1 = Timer::new().unwrap(); timer1.periodic(1); let mut timer2 = Timer::new().unwrap(); - // while sleeping, the prevous timer should fire and not have its + // while sleeping, the previous timer should fire and not have its // callback do something terrible. timer2.sleep(2); }) |
