docs: Consistently mark ExitStatus as code
This commit is contained in:
@@ -1423,7 +1423,7 @@ impl From<fs::File> for Stdio {
|
|||||||
/// the `Termination` trait, in contrast to `ExitStatus`, which represents the
|
/// the `Termination` trait, in contrast to `ExitStatus`, which represents the
|
||||||
/// termination of a child process. These APIs are separate due to platform
|
/// termination of a child process. These APIs are separate due to platform
|
||||||
/// compatibility differences and their expected usage; it is not generally
|
/// compatibility differences and their expected usage; it is not generally
|
||||||
/// possible to exactly reproduce an ExitStatus from a child for the current
|
/// possible to exactly reproduce an `ExitStatus` from a child for the current
|
||||||
/// process after the fact.
|
/// process after the fact.
|
||||||
///
|
///
|
||||||
/// [`status`]: Command::status
|
/// [`status`]: Command::status
|
||||||
@@ -1684,7 +1684,7 @@ impl crate::error::Error for ExitStatusError {}
|
|||||||
/// the `Termination` trait, in contrast to [`ExitStatus`], which represents the
|
/// the `Termination` trait, in contrast to [`ExitStatus`], which represents the
|
||||||
/// termination of a child process. These APIs are separate due to platform
|
/// termination of a child process. These APIs are separate due to platform
|
||||||
/// compatibility differences and their expected usage; it is not generally
|
/// compatibility differences and their expected usage; it is not generally
|
||||||
/// possible to exactly reproduce an ExitStatus from a child for the current
|
/// possible to exactly reproduce an `ExitStatus` from a child for the current
|
||||||
/// process after the fact.
|
/// process after the fact.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
|||||||
Reference in New Issue
Block a user