1
Fork 0

Remove explicit syntax highlight from docs.

This commit is contained in:
Joseph Crail 2015-03-12 22:42:38 -04:00
parent 3e4be02b80
commit fcf3f3209a
51 changed files with 172 additions and 167 deletions

View file

@ -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");
///