Skip to content

Commit 032514f

Browse files
update comments
1 parent b75f103 commit 032514f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/shims/unix/freebsd/sync.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pub struct FreeBsdFutex {
99
futex: FutexRef,
1010
}
1111

12+
/// Extended variant of the `timespec` struct.
1213
pub struct UmtxTime {
1314
timeout: Duration,
1415
abs_time: bool,
@@ -17,8 +18,8 @@ pub struct UmtxTime {
1718

1819
impl<'tcx> EvalContextExt<'tcx> for crate::MiriInterpCx<'tcx> {}
1920
pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
20-
/// Implementation of the FreeBSD [`_umtx_op`](https://man.freebsd.org/cgi/man.cgi?query=_umtx_op&sektion=2&manpath=FreeBSD+14.2-RELEASE+and+Ports) syscall. :
21-
/// This is used for futex operations.
21+
/// Implementation of the FreeBSD [`_umtx_op`](https://man.freebsd.org/cgi/man.cgi?query=_umtx_op&sektion=2&manpath=FreeBSD+14.2-RELEASE+and+Ports) syscall.
22+
/// This is used for futex operations on FreeBSD.
2223
///
2324
/// `obj`: a pointer to the futex object (can be a lot of things, mostly *AtomicU32)
2425
/// `op`: the futex operation to run

0 commit comments

Comments
 (0)