about summary refs log tree commit diff
path: root/src/libstd/process.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-10 16:18:44 +0000
committerbors <bors@rust-lang.org>2015-04-10 16:18:44 +0000
commitc897ac04e2ebda378fd9e38f6ec0878ae3a2baf7 (patch)
treef26b1f3541943b61937faf150f90b46e9a8f15c5 /src/libstd/process.rs
parent9539627ac76ca37d617a329dbd79c50c59cf59ee (diff)
parent445faca8441aae34c91318b6ad9e2049885af8dc (diff)
downloadrust-c897ac04e2ebda378fd9e38f6ec0878ae3a2baf7.tar.gz
rust-c897ac04e2ebda378fd9e38f6ec0878ae3a2baf7.zip
Auto merge of #24177 - alexcrichton:rustdoc, r=aturon
This commit series starts out with more official test harness support for rustdoc tests, and then each commit afterwards adds a test (where appropriate). Each commit should also test and finish independently of all others (they're all pretty separable).

I've uploaded a [copy of the documentation](http://people.mozilla.org/~acrichton/doc/std/) generated after all these commits were applied, and a double check on issues being closed would be greatly appreciated! I'll also browse the docs a bit and make sure nothing regressed too horribly.
Diffstat (limited to 'src/libstd/process.rs')
-rw-r--r--src/libstd/process.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 90eabaee77b..cac1540d0ec 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -38,8 +38,6 @@ use thread;
 /// # Examples
 ///
 /// ```should_panic
-/// # #![feature(process)]
-///
 /// use std::process::Command;
 ///
 /// let output = Command::new("/bin/cat").arg("file.txt").output().unwrap_or_else(|e| {
@@ -267,10 +265,8 @@ impl Command {
     /// # Examples
     ///
     /// ```
-    /// # #![feature(process)]
     /// use std::process::Command;
-    ///
-    /// let output = Command::new("cat").arg("foot.txt").output().unwrap_or_else(|e| {
+    /// let output = Command::new("cat").arg("foo.txt").output().unwrap_or_else(|e| {
     ///     panic!("failed to execute process: {}", e)
     /// });
     ///
@@ -291,7 +287,6 @@ impl Command {
     /// # Examples
     ///
     /// ```
-    /// # #![feature(process)]
     /// use std::process::Command;
     ///
     /// let status = Command::new("ls").status().unwrap_or_else(|e| {