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.
This commit is contained in:
Manish Goregaokar
2015-03-17 15:20:27 +05:30
51 changed files with 172 additions and 167 deletions

View File

@@ -856,7 +856,7 @@ impl<'a> cmp::Ord for Components<'a> {
///
/// # Examples
///
/// ```rust
/// ```
/// use std::path::PathBuf;
///
/// let mut path = PathBuf::new("c:\\");
@@ -948,7 +948,7 @@ impl PathBuf {
///
/// # Examples
///
/// ```rust
/// ```
/// use std::path::PathBuf;
///
/// let mut buf = PathBuf::new("/");
@@ -1105,7 +1105,7 @@ impl AsOsStr for PathBuf {
///
/// # Examples
///
/// ```rust
/// ```
/// use std::path::Path;
///
/// let path = Path::new("/tmp/foo/bar.txt");
@@ -1210,7 +1210,7 @@ impl Path {
///
/// # Examples
///
/// ```rust
/// ```
/// use std::path::Path;
///
/// let path = Path::new("/foo/bar");