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/libsync/lock.rs | 2 +- src/libsync/one.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsync') diff --git a/src/libsync/lock.rs b/src/libsync/lock.rs index 1b620185610..723d0d60867 100644 --- a/src/libsync/lock.rs +++ b/src/libsync/lock.rs @@ -513,7 +513,7 @@ mod tests { #[test] fn test_mutex_arc_nested() { // Tests nested mutexes and access - // to underlaying data. + // to underlying data. let arc = Arc::new(Mutex::new(1)); let arc2 = Arc::new(Mutex::new(arc)); task::spawn(proc() { diff --git a/src/libsync/one.rs b/src/libsync/one.rs index eb919198708..bd4b5fae3d0 100644 --- a/src/libsync/one.rs +++ b/src/libsync/one.rs @@ -71,7 +71,7 @@ impl Once { // Implementation-wise, this would seem like a fairly trivial primitive. // The stickler part is where our mutexes currently require an - // allocation, and usage of a `Once` should't leak this allocation. + // allocation, and usage of a `Once` shouldn't leak this allocation. // // This means that there must be a deterministic destroyer of the mutex // contained within (because it's not needed after the initialization -- cgit 1.4.1-3-g733a5