diff options
| author | Joseph Crail <jbcrail@gmail.com> | 2015-03-12 22:42:38 -0400 |
|---|---|---|
| committer | Joseph Crail <jbcrail@gmail.com> | 2015-03-13 19:25:18 -0400 |
| commit | fcf3f3209accbb9240ea44a24165e35e50eba1d2 (patch) | |
| tree | feee63126e0c9c3457595881e940eb52462da586 /src/libcore/str | |
| parent | 3e4be02b80a3dd27bce20870958fe0aef7e7336d (diff) | |
| download | rust-fcf3f3209accbb9240ea44a24165e35e50eba1d2.tar.gz rust-fcf3f3209accbb9240ea44a24165e35e50eba1d2.zip | |
Remove explicit syntax highlight from docs.
Diffstat (limited to 'src/libcore/str')
| -rw-r--r-- | src/libcore/str/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 6f72890d96f..75e5657573e 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -139,7 +139,7 @@ impl FromStr for bool { /// /// # Examples /// - /// ```rust + /// ``` /// use std::str::FromStr; /// /// assert_eq!(FromStr::from_str("true"), Ok(true)); @@ -150,7 +150,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()); @@ -1185,7 +1185,7 @@ mod traits { /// /// # Examples /// - /// ```rust + /// ``` /// let s = "Löwe 老虎 Léopard"; /// assert_eq!(&s[0 .. 1], "L"); /// |
