@@ -598,7 +598,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
598
598
let this = self . eval_context_mut ( ) ;
599
599
600
600
// 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.
602
602
let mutex = mutex_get_data ( this, mutex_op) ?. clone ( ) ;
603
603
604
604
if this. mutex_is_locked ( & mutex. mutex_ref ) {
@@ -706,7 +706,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
706
706
let this = self . eval_context_mut ( ) ;
707
707
708
708
// 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.
710
710
let id = rwlock_get_data ( this, rwlock_op) ?. id ;
711
711
712
712
if this. rwlock_is_locked ( id) {
@@ -893,7 +893,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
893
893
let this = self . eval_context_mut ( ) ;
894
894
895
895
// 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.
897
897
let id = cond_get_data ( this, cond_op) ?. id ;
898
898
if this. condvar_is_awaited ( id) {
899
899
throw_ub_format ! ( "destroying an awaited conditional variable" ) ;
0 commit comments