]> git.lizzy.rs Git - rust.git/commitdiff
Update boxed.rs
authorWei-Ming Yang <rick68@users.noreply.github.com>
Sun, 12 Jul 2015 22:43:54 +0000 (06:43 +0800)
committerWei-Ming Yang <rick68@users.noreply.github.com>
Sun, 12 Jul 2015 22:43:54 +0000 (06:43 +0800)
Reverse PR `#26944 `, symbol `#` are actually as intended.

src/liballoc/boxed.rs

index 3dfd10f09167be7b6c3a26d6841284c74e986471..c941629b871ef418566ee87c4dda4ef4ba3bac7d 100644 (file)
@@ -71,7 +71,7 @@
 /// The following two examples are equivalent:
 ///
 /// ```
-/// #![feature(box_heap)]
+/// # #![feature(box_heap)]
 /// #![feature(box_syntax)]
 /// use std::boxed::HEAP;
 ///
@@ -162,7 +162,7 @@ pub fn into_raw(b: Box<T>) -> *mut T {
 ///
 /// # Examples
 /// ```
-/// #![feature(box_raw)]
+/// # #![feature(box_raw)]
 /// use std::boxed;
 ///
 /// let seventeen = Box::new(17u32);