about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-17 15:20:27 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-17 15:20:27 +0530
commit0b463b075e221a779ee65d90f603447baf6fe2cb (patch)
treedf1c86ae3fa09eae3899d7cdf9bd7d9293d6cf8e /src/liballoc
parent46200e5090c94f2ab1812a00c0fd778a6784e2e9 (diff)
parentfcf3f3209accbb9240ea44a24165e35e50eba1d2 (diff)
downloadrust-0b463b075e221a779ee65d90f603447baf6fe2cb.tar.gz
rust-0b463b075e221a779ee65d90f603447baf6fe2cb.zip
Rollup merge of #23329 - jbcrail:rm-syntax-highlight, r=sanxiyn
 As suggested by @steveklabnik in #23254, I removed the redundant Rust syntax highlighting from the documentation.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs2
-rw-r--r--src/liballoc/boxed.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 748eb9dcb2f..8befb0579c3 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -94,7 +94,7 @@ use heap::deallocate;
 /// With simple pipes, without `Arc`, a copy would have to be made for each
 /// task.
 ///
-/// ```rust
+/// ```
 /// use std::sync::Arc;
 /// use std::thread;
 ///
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 6d865d2bffa..451237d7596 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -64,7 +64,7 @@ use core::raw::TraitObject;
 ///
 /// The following two examples are equivalent:
 ///
-/// ```rust
+/// ```
 /// #![feature(box_syntax)]
 /// use std::boxed::HEAP;
 ///