File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1121,7 +1121,8 @@ impl ExitCode {
1121
1121
}
1122
1122
1123
1123
impl Child {
1124
- /// Forces the child process to exit. If the child has already exited, an error is returned.
1124
+ /// Forces the child process to exit. If the child has already exited, an [`InvalidInput`]
1125
+ /// error might be returned.
1125
1126
///
1126
1127
/// This is equivalent to sending a SIGKILL on Unix platforms.
1127
1128
///
@@ -1139,6 +1140,8 @@ impl Child {
1139
1140
/// println!("yes command didn't start");
1140
1141
/// }
1141
1142
/// ```
1143
+ ///
1144
+ /// [`InvalidInput`]: ../io/enum.ErrorKind.html#variant.InvalidInput
1142
1145
#[ stable( feature = "process" , since = "1.0.0" ) ]
1143
1146
pub fn kill ( & mut self ) -> io:: Result < ( ) > {
1144
1147
self . handle . kill ( )
You can’t perform that action at this time.
0 commit comments