mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
1dda82e8b2
Every implementation of Fn also implements FnMut, so if some callback can be passed to GuestMemory::with_regions then it could also have been passed to GuestMemory::with_regions_mut. This CL removes GuestMemory::with_regions and renames with_regions_mut to with_regions. TEST=cargo check Change-Id: Ia4f168ff4eb4d45a5ee8f9413821ae244fb72ee1 Reviewed-on: https://chromium-review.googlesource.com/1378688 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: David Tolnay <dtolnay@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org> |
||
---|---|---|
.. | ||
errno.rs | ||
eventfd.rs | ||
file_flags.rs | ||
file_sync.rs | ||
fork.rs | ||
guest_address.rs | ||
guest_memory.rs | ||
handle_eintr.rs | ||
ioctl.rs | ||
lib.rs | ||
mmap.rs | ||
passwd.rs | ||
poll.rs | ||
priority.rs | ||
seek_hole.rs | ||
shm.rs | ||
signal.rs | ||
signalfd.rs | ||
sock_ctrl_msg.rs | ||
struct_util.rs | ||
syslog.rs | ||
tempdir.rs | ||
terminal.rs | ||
timerfd.rs | ||
write_zeroes.rs |