Redefine ErrorKind::Other
and stop using it in std.
This commit is contained in:
parent
cdbe288897
commit
0b37bb2bc2
24 changed files with 89 additions and 75 deletions
|
@ -1658,8 +1658,7 @@ impl Child {
|
|||
/// 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,
|
||||
/// especially the [`Other`] kind might change to more specific kinds in the future.
|
||||
/// The mapping to [`ErrorKind`]s is not part of the compatibility contract of the function.
|
||||
///
|
||||
/// This is equivalent to sending a SIGKILL on Unix platforms.
|
||||
///
|
||||
|
@ -1680,7 +1679,6 @@ impl Child {
|
|||
///
|
||||
/// [`ErrorKind`]: io::ErrorKind
|
||||
/// [`InvalidInput`]: io::ErrorKind::InvalidInput
|
||||
/// [`Other`]: io::ErrorKind::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