1
Fork 0

fixup! std: Child::kill() returns error if process has already exited

This commit is contained in:
Andreas Tolfsen 2018-04-17 08:00:48 +01:00
parent fd2afa01aa
commit bc4bd5642a

View file

@ -1121,7 +1121,7 @@ impl ExitCode {
}
impl Child {
/// Forces the child process to exit. If the child has already exited, an [`InvalidInput`]
/// Forces the child process to exit. If the child has already exited, an [`InvalidInput`]
/// error is returned.
///
/// The mapping to [`ErrorKind`]s is not part of the compatibility contract of the function,