Skip to content

Commit fd2afa0

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

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
@@ -1146,7 +1146,7 @@ impl Child {
11461146
///
11471147
/// [`ErrorKind`]: ../io/enum.ErrorKind.html
11481148
/// [`InvalidInput`]: ../io/enum.ErrorKind.html#variant.InvalidInput
1149-
/// [`Other]: ../io/enum.ErrorKind.html#variant.Other
1149+
/// [`Other`]: ../io/enum.ErrorKind.html#variant.Other
11501150
#[stable(feature = "process", since = "1.0.0")]
11511151
pub fn kill(&mut self) -> io::Result<()> {
11521152
self.handle.kill()

0 commit comments

Comments
 (0)