about summary refs log tree commit diff
path: root/library/std/src/sys/process/unix/vxworks.rs
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2025-06-27 18:24:42 +0800
committerDeadbeef <ent3rm4n@gmail.com>2025-06-27 18:24:42 +0800
commit7a79454de465774f8445a88640ffdc5792fc8a13 (patch)
treed1699b49b8c4fd9a99ca2a1aedd927dbbe84a905 /library/std/src/sys/process/unix/vxworks.rs
parent2c2bb995af398383e3b93b859302bdc447ca7a7c (diff)
downloadrust-7a79454de465774f8445a88640ffdc5792fc8a13.tar.gz
rust-7a79454de465774f8445a88640ffdc5792fc8a13.zip
update internal `send_signal` comment
Diffstat (limited to 'library/std/src/sys/process/unix/vxworks.rs')
-rw-r--r--library/std/src/sys/process/unix/vxworks.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/process/unix/vxworks.rs b/library/std/src/sys/process/unix/vxworks.rs
index 51ae8c56bdb..2275cbb946a 100644
--- a/library/std/src/sys/process/unix/vxworks.rs
+++ b/library/std/src/sys/process/unix/vxworks.rs
@@ -151,8 +151,8 @@ impl Process {
     }
 
     pub fn send_signal(&self, signal: i32) -> io::Result<()> {
-        // If we've already waited on this process then the pid can be recycled
-        // and used for another process, and we probably shouldn't be killing
+        // If we've already waited on this process then the pid can be recycled and
+        // used for another process, and we probably shouldn't be sending signals to
         // random processes, so return Ok because the process has exited already.
         if self.status.is_some() {
             Ok(())