about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorWei-Ming Yang <rick68@users.noreply.github.com>2015-07-11 03:50:32 +0800
committerWei-Ming Yang <rick68@users.noreply.github.com>2015-07-11 03:50:32 +0800
commit25097023141ade95d0eedf192ac8eeacc3f67d5c (patch)
tree0e35df10f87adc2fc46d0e507f33d6a8a7ec9aab /src/liballoc
parentfddfd089b75379f1d25f81541572d69a93f95c4f (diff)
downloadrust-25097023141ade95d0eedf192ac8eeacc3f67d5c.tar.gz
rust-25097023141ade95d0eedf192ac8eeacc3f67d5c.zip
Update boxed.rs
fix typos
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index c941629b871..3dfd10f0916 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -71,7 +71,7 @@ use core::raw::{TraitObject};
 /// The following two examples are equivalent:
 ///
 /// ```
-/// # #![feature(box_heap)]
+/// #![feature(box_heap)]
 /// #![feature(box_syntax)]
 /// use std::boxed::HEAP;
 ///
@@ -162,7 +162,7 @@ impl<T : ?Sized> Box<T> {
 ///
 /// # Examples
 /// ```
-/// # #![feature(box_raw)]
+/// #![feature(box_raw)]
 /// use std::boxed;
 ///
 /// let seventeen = Box::new(17u32);