about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJames Miller <james@aatch.net>2013-07-28 20:45:23 +1200
committerJames Miller <james@aatch.net>2013-07-28 20:45:23 +1200
commit639819f3d991a63883bc571f9aed13b8e59036d6 (patch)
tree1f52d861c5c92a7a86cbb482f6059eaded8794d9 /src/libstd
parent5c7e016700cd002647508ec4be764606c0086ce8 (diff)
downloadrust-639819f3d991a63883bc571f9aed13b8e59036d6.tar.gz
rust-639819f3d991a63883bc571f9aed13b8e59036d6.zip
Fix spelling errors
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/unstable/atomics.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/unstable/atomics.rs b/src/libstd/unstable/atomics.rs
index 14ee6c1fd07..6f514ca609d 100644
--- a/src/libstd/unstable/atomics.rs
+++ b/src/libstd/unstable/atomics.rs
@@ -577,8 +577,8 @@ pub unsafe fn atomic_umin<T>(dst: &mut T, val: T, order: Ordering) -> T {
  * An atomic fence.
  *
  * A fence 'A' which has `Release` ordering semantics, synchronizes with a
- * fence 'B' with (at least) `Aquire` semantics, if and only if there exists
- * atomic operations X and Y, bother operating on some atomic object 'M' such
+ * fence 'B' with (at least) `Acquire` semantics, if and only if there exists
+ * atomic operations X and Y, both operating on some atomic object 'M' such
  * that A is sequenced before X, Y is synchronized before B and Y obsevers
  * the change to M. This provides a happens-before dependence between A and B.
  *