]> git.lizzy.rs Git - rust.git/commitdiff
Update boxed.rs
authorWei-Ming Yang <rick68@users.noreply.github.com>
Fri, 10 Jul 2015 19:50:32 +0000 (03:50 +0800)
committerWei-Ming Yang <rick68@users.noreply.github.com>
Fri, 10 Jul 2015 19:50:32 +0000 (03:50 +0800)
fix typos

src/liballoc/boxed.rs

index c941629b871ef418566ee87c4dda4ef4ba3bac7d..3dfd10f09167be7b6c3a26d6841284c74e986471 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);