@@ -525,7 +525,11 @@ impl Command {
525
525
/// * No arguments to the program
526
526
/// * Inherit the current process's environment
527
527
/// * Inherit the current process's working directory
528
- /// * Inherit stdin/stdout/stderr for `spawn` or `status`, but create pipes for `output`
528
+ /// * Inherit stdin/stdout/stderr for [`spawn`] or [`status`], but create pipes for [`output`]
529
+ ///
530
+ /// [`spawn`]: Self::spawn
531
+ /// [`status`]: Self::status
532
+ /// [`output`]: Self::output
529
533
///
530
534
/// Builder methods are provided to change these defaults and
531
535
/// otherwise configure the process.
@@ -772,11 +776,14 @@ impl Command {
772
776
773
777
/// Configuration for the child process's standard input (stdin) handle.
774
778
///
775
- /// Defaults to [`inherit`] when used with `spawn` or `status`, and
776
- /// defaults to [`piped`] when used with `output`.
779
+ /// Defaults to [`inherit`] when used with [ `spawn`] or [ `status`] , and
780
+ /// defaults to [`piped`] when used with [ `output`] .
777
781
///
778
782
/// [`inherit`]: Stdio::inherit
779
783
/// [`piped`]: Stdio::piped
784
+ /// [`spawn`]: Self::spawn
785
+ /// [`status`]: Self::status
786
+ /// [`output`]: Self::output
780
787
///
781
788
/// # Examples
782
789
///
@@ -798,11 +805,14 @@ impl Command {
798
805
799
806
/// Configuration for the child process's standard output (stdout) handle.
800
807
///
801
- /// Defaults to [`inherit`] when used with `spawn` or `status`, and
802
- /// defaults to [`piped`] when used with `output`.
808
+ /// Defaults to [`inherit`] when used with [ `spawn`] or [ `status`] , and
809
+ /// defaults to [`piped`] when used with [ `output`] .
803
810
///
804
811
/// [`inherit`]: Stdio::inherit
805
812
/// [`piped`]: Stdio::piped
813
+ /// [`spawn`]: Self::spawn
814
+ /// [`status`]: Self::status
815
+ /// [`output`]: Self::output
806
816
///
807
817
/// # Examples
808
818
///
@@ -824,11 +834,14 @@ impl Command {
824
834
825
835
/// Configuration for the child process's standard error (stderr) handle.
826
836
///
827
- /// Defaults to [`inherit`] when used with `spawn` or `status`, and
828
- /// defaults to [`piped`] when used with `output`.
837
+ /// Defaults to [`inherit`] when used with [ `spawn`] or [ `status`] , and
838
+ /// defaults to [`piped`] when used with [ `output`] .
829
839
///
830
840
/// [`inherit`]: Stdio::inherit
831
841
/// [`piped`]: Stdio::piped
842
+ /// [`spawn`]: Self::spawn
843
+ /// [`status`]: Self::status
844
+ /// [`output`]: Self::output
832
845
///
833
846
/// # Examples
834
847
///
0 commit comments