about summary refs log tree commit diff
path: root/src/libcore/str/mod.rs
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/libcore/str/mod.rs
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/libcore/str/mod.rs')
-rw-r--r--src/libcore/str/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index 3873f305b42..bd46b093b76 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -140,7 +140,7 @@ impl FromStr for bool {
     ///
     /// # Examples
     ///
-    /// ```rust
+    /// ```
     /// use std::str::FromStr;
     ///
     /// assert_eq!(FromStr::from_str("true"), Ok(true));
@@ -151,7 +151,7 @@ impl FromStr for bool {
     /// Note, in many cases, the StrExt::parse() which is based on
     /// this FromStr::from_str() is more proper.
     ///
-    /// ```rust
+    /// ```
     /// assert_eq!("true".parse(), Ok(true));
     /// assert_eq!("false".parse(), Ok(false));
     /// assert!("not even a boolean".parse::<bool>().is_err());
@@ -1186,7 +1186,7 @@ mod traits {
     ///
     /// # Examples
     ///
-    /// ```rust
+    /// ```
     /// let s = "Löwe 老虎 Léopard";
     /// assert_eq!(&s[0 .. 1], "L");
     ///