From fcf3f3209accbb9240ea44a24165e35e50eba1d2 Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Thu, 12 Mar 2015 22:42:38 -0400 Subject: Remove explicit syntax highlight from docs. --- src/libstd/macros.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libstd/macros.rs') diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index a5022943267..995544c49a4 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -179,7 +179,7 @@ pub mod builtin { /// /// # Examples /// - /// ```rust + /// ``` /// use std::fmt; /// /// let s = fmt::format(format_args!("hello {}", "world")); @@ -202,7 +202,7 @@ pub mod builtin { /// /// # Examples /// - /// ```rust + /// ``` /// let path: &'static str = env!("PATH"); /// println!("the $PATH variable at the time of compiling was: {}", path); /// ``` @@ -221,7 +221,7 @@ pub mod builtin { /// /// # Examples /// - /// ```rust + /// ``` /// let key: Option<&'static str> = option_env!("SECRET_KEY"); /// println!("the secret key might be: {:?}", key); /// ``` @@ -369,7 +369,7 @@ pub mod builtin { /// /// # Examples /// - /// ```rust + /// ``` /// mod test { /// pub fn foo() { /// assert!(module_path!().ends_with("test")); @@ -392,7 +392,7 @@ pub mod builtin { /// /// # Examples /// - /// ```rust + /// ``` /// let my_directory = if cfg!(windows) { /// "windows-specific-directory" /// } else { -- cgit 1.4.1-3-g733a5