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-13 06:43:54 +0800
committerWei-Ming Yang <rick68@users.noreply.github.com>2015-07-13 06:43:54 +0800
commit5f8b1fadb8824e151df2b859a2c47af33d931464 (patch)
tree6c8efc8b89bccc7abe160feca7dfc22f074eb7cd /src/liballoc
parentadcae006d250e40d7369d9bee3ecd05915acb22d (diff)
downloadrust-5f8b1fadb8824e151df2b859a2c47af33d931464.tar.gz
rust-5f8b1fadb8824e151df2b859a2c47af33d931464.zip
Update boxed.rs
Reverse PR `#26944 `, symbol `#` are actually as intended.
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 3dfd10f0916..c941629b871 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);