about summary refs log tree commit diff
path: root/src/libstd/old_io/fs.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/libstd/old_io/fs.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/libstd/old_io/fs.rs')
-rw-r--r--src/libstd/old_io/fs.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libstd/old_io/fs.rs b/src/libstd/old_io/fs.rs
index a6ed76688ca..ff3af380b7d 100644
--- a/src/libstd/old_io/fs.rs
+++ b/src/libstd/old_io/fs.rs
@@ -176,7 +176,7 @@ impl File {
     ///
     /// # Examples
     ///
-    /// ```rust
+    /// ```
     /// use std::old_io::File;
     ///
     /// let contents = File::open(&Path::new("foo.txt")).read_to_end();
@@ -195,7 +195,7 @@ impl File {
     ///
     /// # Examples
     ///
-    /// ```rust
+    /// ```
     /// # #![allow(unused_must_use)]
     /// use std::old_io::File;
     ///
@@ -286,7 +286,7 @@ impl File {
 ///
 /// # Examples
 ///
-/// ```rust
+/// ```
 /// # #![allow(unused_must_use)]
 /// use std::old_io::fs;
 ///
@@ -317,7 +317,7 @@ pub fn unlink(path: &Path) -> IoResult<()> {
 ///
 /// # Examples
 ///
-/// ```rust
+/// ```
 /// use std::old_io::fs;
 ///
 /// let p = Path::new("/some/file/path.txt");
@@ -359,7 +359,7 @@ pub fn lstat(path: &Path) -> IoResult<FileStat> {
 ///
 /// # Examples
 ///
-/// ```rust
+/// ```
 /// # #![allow(unused_must_use)]
 /// use std::old_io::fs;
 ///
@@ -387,7 +387,7 @@ pub fn rename(from: &Path, to: &Path) -> IoResult<()> {
 ///
 /// # Examples
 ///
-/// ```rust
+/// ```
 /// # #![allow(unused_must_use)]
 /// use std::old_io::fs;
 ///
@@ -437,7 +437,7 @@ pub fn copy(from: &Path, to: &Path) -> IoResult<()> {
 ///
 /// # Examples
 ///
-/// ```rust
+/// ```
 /// # #![allow(unused_must_use)]
 /// use std::old_io;
 /// use std::old_io::fs;
@@ -508,7 +508,7 @@ pub fn readlink(path: &Path) -> IoResult<Path> {
 ///
 /// # Examples
 ///
-/// ```rust
+/// ```
 /// # #![allow(unused_must_use)]
 /// use std::old_io;
 /// use std::old_io::fs;
@@ -532,7 +532,7 @@ pub fn mkdir(path: &Path, mode: FilePermission) -> IoResult<()> {
 ///
 /// # Examples
 ///
-/// ```rust
+/// ```
 /// # #![allow(unused_must_use)]
 /// use std::old_io::fs;
 ///
@@ -556,7 +556,7 @@ pub fn rmdir(path: &Path) -> IoResult<()> {
 ///
 /// # Examples
 ///
-/// ```rust
+/// ```
 /// use std::old_io::fs::PathExtensions;
 /// use std::old_io::fs;
 /// use std::old_io;