fixup! std: Child::kill() returns error if process has already exited
This commit is contained in:
parent
51dc6304e7
commit
fd2afa01aa
1 changed files with 1 additions and 1 deletions
|
@ -1146,7 +1146,7 @@ impl Child {
|
|||
///
|
||||
/// [`ErrorKind`]: ../io/enum.ErrorKind.html
|
||||
/// [`InvalidInput`]: ../io/enum.ErrorKind.html#variant.InvalidInput
|
||||
/// [`Other]: ../io/enum.ErrorKind.html#variant.Other
|
||||
/// [`Other`]: ../io/enum.ErrorKind.html#variant.Other
|
||||
#[stable(feature = "process", since = "1.0.0")]
|
||||
pub fn kill(&mut self) -> io::Result<()> {
|
||||
self.handle.kill()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue