diff options
| author | bors <bors@rust-lang.org> | 2014-06-10 15:17:01 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-10 15:17:01 -0700 |
| commit | b1302f9c4f6619bf83fff39b305b990d8f628eb7 (patch) | |
| tree | 00429f512aed143f46f4b0ea8a23c2028db2c123 /src/libsync | |
| parent | 7f777a5ba49785a74e5365e9897ddf4c02ea8519 (diff) | |
| parent | c2c99463720e758d5aa0bdcea19dc5b3dd67292c (diff) | |
| download | rust-b1302f9c4f6619bf83fff39b305b990d8f628eb7.tar.gz rust-b1302f9c4f6619bf83fff39b305b990d8f628eb7.zip | |
auto merge of #14764 : jbcrail/rust/fix-more-comments, r=alexcrichton
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 |
