Skip to content

Commit 9772003

Browse files
author
Pirh
committed
Remove ./ prefix from relative URLs
Also remove trailing whitespace to pass tidy checks.
1 parent 19029d5 commit 9772003

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/libstd/process.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -745,10 +745,10 @@ impl fmt::Debug for Output {
745745
/// Describes what to do with a standard I/O stream for a child process when
746746
/// passed to the [`stdin`], [`stdout`], and [`stderr`] methods of [`Command`].
747747
///
748-
/// [`stdin`]: ./struct.Command.html#method.stdin
749-
/// [`stdout`]: ./struct.Command.html#method.stdout
750-
/// [`stderr`]: ./struct.Command.html#method.stderr
751-
/// [`Command`]: ./struct.Command.html
748+
/// [`stdin`]: struct.Command.html#method.stdin
749+
/// [`stdout`]: struct.Command.html#method.stdout
750+
/// [`stderr`]: struct.Command.html#method.stderr
751+
/// [`Command`]: struct.Command.html
752752
#[stable(feature = "process", since = "1.0.0")]
753753
pub struct Stdio(imp::Stdio);
754754

@@ -783,12 +783,12 @@ impl Stdio {
783783
/// .stdout(Stdio::piped())
784784
/// .spawn()
785785
/// .expect("Failed to spawn child process");
786-
///
786+
///
787787
/// {
788788
/// let mut stdin = child.stdin.as_mut().expect("Failed to open stdin");
789789
/// stdin.write_all("Hello, world!".as_bytes()).expect("Failed to write to stdin");
790790
/// }
791-
///
791+
///
792792
/// let output = child.wait_with_output().expect("Failed to read stdout");
793793
/// assert_eq!(String::from_utf8_lossy(&output.stdout), "!dlrow ,olleH\n");
794794
/// ```
@@ -818,13 +818,13 @@ impl Stdio {
818818
///
819819
/// ```no_run
820820
/// use std::process::{Command, Stdio};
821-
///
821+
///
822822
/// let output = Command::new("rev")
823823
/// .stdin(Stdio::inherit())
824824
/// .stdout(Stdio::piped())
825825
/// .output()
826826
/// .expect("Failed to execute command");
827-
///
827+
///
828828
/// println!("You piped in the reverse of: {}", String::from_utf8_lossy(&output.stdout));
829829
/// ```
830830
#[stable(feature = "process", since = "1.0.0")]
@@ -854,13 +854,13 @@ impl Stdio {
854854
///
855855
/// ```no_run
856856
/// use std::process::{Command, Stdio};
857-
///
857+
///
858858
/// let output = Command::new("rev")
859859
/// .stdin(Stdio::null())
860860
/// .stdout(Stdio::piped())
861861
/// .output()
862862
/// .expect("Failed to execute command");
863-
///
863+
///
864864
/// assert_eq!(String::from_utf8_lossy(&output.stdout), "");
865865
/// // Ignores any piped-in input
866866
/// ```

0 commit comments

Comments
 (0)