diff options
| author | Andreas Tolfsen <ato@sny.no> | 2018-04-08 16:20:15 +0100 |
|---|---|---|
| committer | Andreas Tolfsen <ato@sny.no> | 2018-04-08 16:20:15 +0100 |
| commit | fd2afa01aa614114811ff68ed31c146f7aab1d28 (patch) | |
| tree | 7d6eaec25e27a4feb7f08f634a880d1d76754f79 /src/libstd | |
| parent | 51dc6304e71b95ad26f697db56c0bc2e6df5dd47 (diff) | |
| download | rust-fd2afa01aa614114811ff68ed31c146f7aab1d28.tar.gz rust-fd2afa01aa614114811ff68ed31c146f7aab1d28.zip | |
fixup! std: Child::kill() returns error if process has already exited
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index c3d681a8962..60759de8afc 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -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() |
