From c2c99463720e758d5aa0bdcea19dc5b3dd67292c Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Mon, 9 Jun 2014 00:00:52 -0400 Subject: Fix more misspelled comments and strings. --- src/librustrt/task.rs | 2 +- src/librustrt/unwind.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/librustrt') diff --git a/src/librustrt/task.rs b/src/librustrt/task.rs index 0640b2b9c77..bde14b962c7 100644 --- a/src/librustrt/task.rs +++ b/src/librustrt/task.rs @@ -163,7 +163,7 @@ impl Task { // Here we must unsafely borrow the task in order to not remove it from // TLS. When collecting failure, we may attempt to send on a channel (or - // just run aribitrary code), so we must be sure to still have a local + // just run arbitrary code), so we must be sure to still have a local // task in TLS. unsafe { let me: *mut Task = Local::unsafe_borrow(); diff --git a/src/librustrt/unwind.rs b/src/librustrt/unwind.rs index 2fd9f4ef1f1..f7475db1552 100644 --- a/src/librustrt/unwind.rs +++ b/src/librustrt/unwind.rs @@ -395,7 +395,7 @@ pub fn begin_unwind(msg: M, file: &'static str, line: uint) -> ! /// The core of the unwinding. /// /// This is non-generic to avoid instantiation bloat in other crates -/// (which makes compilation of small crates noticably slower). (Note: +/// (which makes compilation of small crates noticeably slower). (Note: /// we need the `Any` object anyway, we're not just creating it to /// avoid being generic.) /// @@ -408,7 +408,7 @@ fn begin_unwind_inner(msg: Box, // First, invoke call the user-defined callbacks triggered on task failure. // // By the time that we see a callback has been registered (by reading - // MAX_CALLBACKS), the actuall callback itself may have not been stored yet, + // MAX_CALLBACKS), the actual callback itself may have not been stored yet, // so we just chalk it up to a race condition and move on to the next // callback. Additionally, CALLBACK_CNT may briefly be higher than // MAX_CALLBACKS, so we're sure to clamp it as necessary. -- cgit 1.4.1-3-g733a5