Skip to content

Commit ad16dc4

Browse files
committed
typo
1 parent 424bc60 commit ad16dc4

File tree

1 file changed

+3
-3
lines changed
  • src/tools/miri/src/shims/unix

1 file changed

+3
-3
lines changed

src/tools/miri/src/shims/unix/sync.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
598598
let this = self.eval_context_mut();
599599

600600
// Reading the field also has the side-effect that we detect double-`destroy`
601-
// since we make the field unint below.
601+
// since we make the field uninit below.
602602
let mutex = mutex_get_data(this, mutex_op)?.clone();
603603

604604
if this.mutex_is_locked(&mutex.mutex_ref) {
@@ -706,7 +706,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
706706
let this = self.eval_context_mut();
707707

708708
// Reading the field also has the side-effect that we detect double-`destroy`
709-
// since we make the field unint below.
709+
// since we make the field uninit below.
710710
let id = rwlock_get_data(this, rwlock_op)?.id;
711711

712712
if this.rwlock_is_locked(id) {
@@ -893,7 +893,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
893893
let this = self.eval_context_mut();
894894

895895
// Reading the field also has the side-effect that we detect double-`destroy`
896-
// since we make the field unint below.
896+
// since we make the field uninit below.
897897
let id = cond_get_data(this, cond_op)?.id;
898898
if this.condvar_is_awaited(id) {
899899
throw_ub_format!("destroying an awaited conditional variable");

0 commit comments

Comments
 (0)