File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1122,7 +1122,10 @@ impl ExitCode {
1122
1122
1123
1123
impl Child {
1124
1124
/// Forces the child process to exit. If the child has already exited, an [`InvalidInput`]
1125
- /// error might be returned.
1125
+ /// error is returned.
1126
+ ///
1127
+ /// The mapping to [`ErrorKind`]s is not part of the compatibility contract of the function,
1128
+ /// especially the [`Other`] kind might change to more specific kinds in the future.
1126
1129
///
1127
1130
/// This is equivalent to sending a SIGKILL on Unix platforms.
1128
1131
///
@@ -1141,7 +1144,9 @@ impl Child {
1141
1144
/// }
1142
1145
/// ```
1143
1146
///
1147
+ /// [`ErrorKind`]: ../io/enum.ErrorKind.html
1144
1148
/// [`InvalidInput`]: ../io/enum.ErrorKind.html#variant.InvalidInput
1149
+ /// [`Other]: ../io/enum.ErrorKind.html#variant.Other
1145
1150
#[ stable( feature = "process" , since = "1.0.0" ) ]
1146
1151
pub fn kill ( & mut self ) -> io:: Result < ( ) > {
1147
1152
self . handle . kill ( )
You can’t perform that action at this time.
0 commit comments