about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-07-11 18:40:13 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-07-11 18:40:13 +0530
commit25b14375b752ea88f91af37ec2b5c042cd10927b (patch)
tree9c77611c90018f5b88bb00e3e06d23dbd60a4413 /src/liballoc
parenta36411d9db6a553f69af04317fcf2ecae9ac17da (diff)
parent25097023141ade95d0eedf192ac8eeacc3f67d5c (diff)
downloadrust-25b14375b752ea88f91af37ec2b5c042cd10927b.tar.gz
rust-25b14375b752ea88f91af37ec2b5c042cd10927b.zip
Rollup merge of #26944 - rick68:patch-11, r=brson
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);