about summary refs log tree commit diff
path: root/src/liballoc/arc.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2015-01-05 21:59:45 -0800
committerAaron Turon <aturon@mozilla.com>2015-01-06 14:57:52 -0800
commitcaca9b2e7109a148d100a3c6851241d3815da3db (patch)
treeb49ae965c7392d0c527aba9c427d4e9e224f8750 /src/liballoc/arc.rs
parentf67b81e8d4dc198ad10ad50a7624e43cc1e25802 (diff)
downloadrust-caca9b2e7109a148d100a3c6851241d3815da3db.tar.gz
rust-caca9b2e7109a148d100a3c6851241d3815da3db.zip
Fallout from stabilization
Diffstat (limited to 'src/liballoc/arc.rs')
-rw-r--r--src/liballoc/arc.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 25f80ad11bd..ac3d2b00212 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -42,7 +42,7 @@
 //!
 //!     Thread::spawn(move || {
 //!         println!("{}", five);
-//!     }).detach();
+//!     });
 //! }
 //! ```
 //!
@@ -63,7 +63,7 @@
 //!         *number += 1;
 //!
 //!         println!("{}", *number); // prints 6
-//!     }).detach();
+//!     });
 //! }
 //! ```
 
@@ -106,7 +106,7 @@ use heap::deallocate;
 ///             let local_numbers = child_numbers.as_slice();
 ///
 ///             // Work with the local numbers
-///         }).detach();
+///         });
 ///     }
 /// }
 /// ```