File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
library/std/src/sys/process/unix Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -968,8 +968,8 @@ impl Process {
968
968
}
969
969
970
970
pub ( crate ) fn send_signal ( & self , signal : i32 ) -> io:: Result < ( ) > {
971
- // If we've already waited on this process then the pid can be recycled
972
- // and used for another process, and we probably shouldn't be signaling
971
+ // If we've already waited on this process then the pid can be recycled and
972
+ // used for another process, and we probably shouldn't be sending signals to
973
973
// random processes, so return Ok because the process has exited already.
974
974
if self . status . is_some ( ) {
975
975
return Ok ( ( ) ) ;
Original file line number Diff line number Diff line change @@ -151,8 +151,8 @@ impl Process {
151
151
}
152
152
153
153
pub fn send_signal ( & self , signal : i32 ) -> io:: Result < ( ) > {
154
- // If we've already waited on this process then the pid can be recycled
155
- // and used for another process, and we probably shouldn't be killing
154
+ // If we've already waited on this process then the pid can be recycled and
155
+ // used for another process, and we probably shouldn't be sending signals to
156
156
// random processes, so return Ok because the process has exited already.
157
157
if self . status . is_some ( ) {
158
158
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments