diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2014-06-09 00:00:52 -0400 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2014-06-10 11:24:17 -0400 |
| commit | c2c99463720e758d5aa0bdcea19dc5b3dd67292c (patch) | |
| tree | b6744e6d280594324f1f22fe8b76ccd03f7eedb0 /src/libsync | |
| parent | 0ee6a8e8a564ec0134ebdc0869fab5e4bb28024c (diff) | |
| download | rust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.tar.gz rust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.zip | |
Fix more misspelled comments and strings.
Diffstat (limited to 'src/libsync')
| -rw-r--r-- | src/libsync/lock.rs | 2 | ||||
| -rw-r--r-- | src/libsync/one.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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 |
