Skip to content

Commit bc4bd56

Browse files
committed
fixup! std: Child::kill() returns error if process has already exited
1 parent fd2afa0 commit bc4bd56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/process.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ impl ExitCode {
11211121
}
11221122

11231123
impl Child {
1124-
/// Forces the child process to exit. If the child has already exited, an [`InvalidInput`]
1124+
/// Forces the child process to exit. If the child has already exited, an [`InvalidInput`]
11251125
/// error is returned.
11261126
///
11271127
/// The mapping to [`ErrorKind`]s is not part of the compatibility contract of the function,

0 commit comments

Comments
 (0)