about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2015-02-04 23:00:02 -0500
committerJoseph Crail <jbcrail@gmail.com>2015-02-04 23:00:02 -0500
commitdc2e444e506c31e8f4a4331c7f6264ca6c107bb6 (patch)
treeeee7ee05c474531329e04db0cce74ae2d87422fd /src/liballoc
parentba2f13ef0667ce90f55ab0f1506bf5ee7b852d96 (diff)
downloadrust-dc2e444e506c31e8f4a4331c7f6264ca6c107bb6.tar.gz
rust-dc2e444e506c31e8f4a4331c7f6264ca6c107bb6.zip
Fix for misspelled comments.
The spelling corrections were made in both documentation comments and
regular comments.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs4
-rw-r--r--src/liballoc/rc.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 21b9c060f6f..24b4abbff4a 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -311,7 +311,7 @@ impl<T: Sync + Send> Drop for Arc<T> {
     ///
     ///     // stuff
     ///
-    ///     drop(five); // explict drop
+    ///     drop(five); // explicit drop
     /// }
     /// {
     ///     let five = Arc::new(5);
@@ -441,7 +441,7 @@ impl<T: Sync + Send> Drop for Weak<T> {
     ///
     ///     // stuff
     ///
-    ///     drop(weak_five); // explict drop
+    ///     drop(weak_five); // explicit drop
     /// }
     /// {
     ///     let five = Arc::new(5);
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 464f20e9cac..ed7a2832f7a 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -382,7 +382,7 @@ impl<T> Drop for Rc<T> {
     ///
     ///     // stuff
     ///
-    ///     drop(five); // explict drop
+    ///     drop(five); // explicit drop
     /// }
     /// {
     ///     let five = Rc::new(5);
@@ -687,7 +687,7 @@ impl<T> Drop for Weak<T> {
     ///
     ///     // stuff
     ///
-    ///     drop(weak_five); // explict drop
+    ///     drop(weak_five); // explicit drop
     /// }
     /// {
     ///     let five = Rc::new(5);