about summary refs log tree commit diff
path: root/src/libstd/process.rs
diff options
context:
space:
mode:
authorPirh <pirh.badger@gmail.com>2017-10-08 19:09:16 +0100
committerPirh <pirh.badger@gmail.com>2017-10-08 19:09:16 +0100
commit977200310abe3ca6c71d467e585654537b5309c2 (patch)
tree271b8231479b22a391d3dbfb1c215d3250587cb8 /src/libstd/process.rs
parent19029d5627218aa01f52c68b27dec71d39974cd7 (diff)
downloadrust-977200310abe3ca6c71d467e585654537b5309c2.tar.gz
rust-977200310abe3ca6c71d467e585654537b5309c2.zip
Remove ./ prefix from relative URLs
Also remove trailing whitespace to pass tidy checks.
Diffstat (limited to 'src/libstd/process.rs')
-rw-r--r--src/libstd/process.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 2b3f49ee3f7..af64e681820 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -745,10 +745,10 @@ impl fmt::Debug for Output {
 /// Describes what to do with a standard I/O stream for a child process when
 /// passed to the [`stdin`], [`stdout`], and [`stderr`] methods of [`Command`].
 ///
-/// [`stdin`]: ./struct.Command.html#method.stdin
-/// [`stdout`]: ./struct.Command.html#method.stdout
-/// [`stderr`]: ./struct.Command.html#method.stderr
-/// [`Command`]: ./struct.Command.html
+/// [`stdin`]: struct.Command.html#method.stdin
+/// [`stdout`]: struct.Command.html#method.stdout
+/// [`stderr`]: struct.Command.html#method.stderr
+/// [`Command`]: struct.Command.html
 #[stable(feature = "process", since = "1.0.0")]
 pub struct Stdio(imp::Stdio);
 
@@ -783,12 +783,12 @@ impl Stdio {
     ///     .stdout(Stdio::piped())
     ///     .spawn()
     ///     .expect("Failed to spawn child process");
-    /// 
+    ///
     /// {
     ///     let mut stdin = child.stdin.as_mut().expect("Failed to open stdin");
     ///     stdin.write_all("Hello, world!".as_bytes()).expect("Failed to write to stdin");
     /// }
-    /// 
+    ///
     /// let output = child.wait_with_output().expect("Failed to read stdout");
     /// assert_eq!(String::from_utf8_lossy(&output.stdout), "!dlrow ,olleH\n");
     /// ```
@@ -818,13 +818,13 @@ impl Stdio {
     ///
     /// ```no_run
     /// use std::process::{Command, Stdio};
-    ///  
+    ///
     /// let output = Command::new("rev")
     ///     .stdin(Stdio::inherit())
     ///     .stdout(Stdio::piped())
     ///     .output()
     ///     .expect("Failed to execute command");
-    /// 
+    ///
     /// println!("You piped in the reverse of: {}", String::from_utf8_lossy(&output.stdout));
     /// ```
     #[stable(feature = "process", since = "1.0.0")]
@@ -854,13 +854,13 @@ impl Stdio {
     ///
     /// ```no_run
     /// use std::process::{Command, Stdio};
-    /// 
+    ///
     /// let output = Command::new("rev")
     ///     .stdin(Stdio::null())
     ///     .stdout(Stdio::piped())
     ///     .output()
     ///     .expect("Failed to execute command");
-    ///  
+    ///
     /// assert_eq!(String::from_utf8_lossy(&output.stdout), "");
     /// // Ignores any piped-in input
     /// ```