Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 36235b9

Browse files
committed
Rename event to events
1 parent 41ab4ec commit 36235b9

File tree

1 file changed

+2
-2
lines changed
  • src/tools/miri/src/shims/unix/linux

1 file changed

+2
-2
lines changed

src/tools/miri/src/shims/unix/linux/epoll.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
524524
epfd_value: i32,
525525
weak_epfd: WeakFileDescriptionRef,
526526
dest: &MPlaceTy<'tcx>,
527-
event: &MPlaceTy<'tcx>,
527+
events: &MPlaceTy<'tcx>,
528528
) -> InterpResult<'tcx> {
529529
let this = self.eval_context_mut();
530530

@@ -539,7 +539,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
539539
let ready_list = epoll_file_description.get_ready_list();
540540
let mut ready_list = ready_list.borrow_mut();
541541
let mut num_of_events: i32 = 0;
542-
let mut array_iter = this.project_array_fields(event)?;
542+
let mut array_iter = this.project_array_fields(events)?;
543543

544544
while let Some(des) = array_iter.next(this)? {
545545
if let Some(epoll_event_instance) = ready_list_next(this, &mut ready_list) {

0 commit comments

Comments
 (0)