Update boxed.rs

fix typos
This commit is contained in:
Wei-Ming Yang
2015-07-11 03:50:32 +08:00
parent fddfd089b7
commit 2509702314

View File

@@ -71,7 +71,7 @@ use core::raw::{TraitObject};
/// The following two examples are equivalent: /// The following two examples are equivalent:
/// ///
/// ``` /// ```
/// # #![feature(box_heap)] /// #![feature(box_heap)]
/// #![feature(box_syntax)] /// #![feature(box_syntax)]
/// use std::boxed::HEAP; /// use std::boxed::HEAP;
/// ///
@@ -162,7 +162,7 @@ impl<T : ?Sized> Box<T> {
/// ///
/// # Examples /// # Examples
/// ``` /// ```
/// # #![feature(box_raw)] /// #![feature(box_raw)]
/// use std::boxed; /// use std::boxed;
/// ///
/// let seventeen = Box::new(17u32); /// let seventeen = Box::new(17u32);