about summary refs log tree commit diff
path: root/src/libcore/macros.rs
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2015-03-12 22:42:38 -0400
committerJoseph Crail <jbcrail@gmail.com>2015-03-13 19:25:18 -0400
commitfcf3f3209accbb9240ea44a24165e35e50eba1d2 (patch)
treefeee63126e0c9c3457595881e940eb52462da586 /src/libcore/macros.rs
parent3e4be02b80a3dd27bce20870958fe0aef7e7336d (diff)
downloadrust-fcf3f3209accbb9240ea44a24165e35e50eba1d2.tar.gz
rust-fcf3f3209accbb9240ea44a24165e35e50eba1d2.zip
Remove explicit syntax highlight from docs.
Diffstat (limited to 'src/libcore/macros.rs')
-rw-r--r--src/libcore/macros.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs
index 6575bac501f..6dcae9879a0 100644
--- a/src/libcore/macros.rs
+++ b/src/libcore/macros.rs
@@ -216,7 +216,7 @@ macro_rules! writeln {
 ///
 /// Match arms:
 ///
-/// ```rust
+/// ```
 /// fn foo(x: Option<int>) {
 ///     match x {
 ///         Some(n) if n >= 0 => println!("Some(Non-negative)"),
@@ -229,7 +229,7 @@ macro_rules! writeln {
 ///
 /// Iterators:
 ///
-/// ```rust
+/// ```
 /// fn divide_by_three(x: u32) -> u32 { // one of the poorest implementations of x/3
 ///     for i in std::iter::count(0, 1) {
 ///         if 3*i < i { panic!("u32 overflow"); }