Skip to content

Commit 0bfaeb3

Browse files
committed
language nits
1 parent 8b213c2 commit 0bfaeb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shims/trace/parent.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use super::StartFfiInfo;
66
use super::messages::{Confirmation, MemEvents, TraceRequest};
77

88
/// The flags to use when calling `waitid()`.
9-
/// Since bitwise or on the nix version of these flags is implemented as a trait,
10-
/// this cannot be const directly so we do it this way
9+
/// Since bitwise OR on the nix version of these flags is implemented as a trait,
10+
/// we can't use them directly so we do it this way
1111
const WAIT_FLAGS: wait::WaitPidFlag =
1212
wait::WaitPidFlag::from_bits_truncate(libc::WUNTRACED | libc::WEXITED);
1313

@@ -22,7 +22,7 @@ pub enum ExecEvent {
2222
End,
2323
/// The child process with the specified pid was stopped by the given signal.
2424
Status(unistd::Pid, signal::Signal),
25-
/// The child process with the specified pid entered or existed a syscall.
25+
/// The child process with the specified pid entered or exited a syscall.
2626
Syscall(unistd::Pid),
2727
/// A child process exited or was killed; if we have a return code, it is
2828
/// specified.

0 commit comments

Comments
 (0)