summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-06 05:37:17 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-06 16:21:06 +0530
commit08a2bef63286479f6abab22f23e3b48e58e5c711 (patch)
tree4d0dca171aa29878aa198d61d07030920e292212 /src/liballoc
parent6bf0cd8f0031d02eaa341adc62a7cba1af435063 (diff)
parentdc2e444e506c31e8f4a4331c7f6264ca6c107bb6 (diff)
downloadrust-08a2bef63286479f6abab22f23e3b48e58e5c711.tar.gz
rust-08a2bef63286479f6abab22f23e3b48e58e5c711.zip
Rollup merge of #21954 - jbcrail:fix-misspelled-comments, r=steveklabnik
 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 80ffa4a0a19..614fe094e30 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -383,7 +383,7 @@ impl<T> Drop for Rc<T> {
     ///
     ///     // stuff
     ///
-    ///     drop(five); // explict drop
+    ///     drop(five); // explicit drop
     /// }
     /// {
     ///     let five = Rc::new(5);
@@ -688,7 +688,7 @@ impl<T> Drop for Weak<T> {
     ///
     ///     // stuff
     ///
-    ///     drop(weak_five); // explict drop
+    ///     drop(weak_five); // explicit drop
     /// }
     /// {
     ///     let five = Rc::new(5);