diff --git a/src/vmm/src/devices/virtio/vsock/unix/muxer.rs b/src/vmm/src/devices/virtio/vsock/unix/muxer.rs index 4e0c945112a..e2c28033ec7 100644 --- a/src/vmm/src/devices/virtio/vsock/unix/muxer.rs +++ b/src/vmm/src/devices/virtio/vsock/unix/muxer.rs @@ -282,7 +282,7 @@ impl VsockEpollListener for VsockMuxer { EventSet::IN } - /// Notify the muxer about a pending event having occured under its nested epoll FD. + /// Notify the muxer about a pending event having occurred under its nested epoll FD. fn notify(&mut self, _: EventSet) { let mut epoll_events = vec![EpollEvent::new(EventSet::empty(), 0); 32]; match self.epoll.wait(0, epoll_events.as_mut_slice()) { diff --git a/src/vmm/src/mmds/ns.rs b/src/vmm/src/mmds/ns.rs index fbb3870168f..9d57f59cf0f 100644 --- a/src/vmm/src/mmds/ns.rs +++ b/src/vmm/src/mmds/ns.rs @@ -141,7 +141,7 @@ impl MmdsNetworkStack { /// /// # Returns /// - /// `true` if the frame was consumed by `mmds` or `false` if an error occured + /// `true` if the frame was consumed by `mmds` or `false` if an error occurred pub fn detour_frame(&mut self, src: &[u8]) -> bool { if let Ok(eth) = EthernetFrame::from_bytes(src) { match eth.ethertype() { diff --git a/src/vmm/src/snapshot/mod.rs b/src/vmm/src/snapshot/mod.rs index 556646e2c98..e412f517081 100644 --- a/src/vmm/src/snapshot/mod.rs +++ b/src/vmm/src/snapshot/mod.rs @@ -57,7 +57,7 @@ pub enum SnapshotError { InvalidFormatVersion(Version), /// Magic value does not match arch: {0} InvalidMagic(u64), - /// An error occured during bitcode serialization: {0} + /// An error occurred during bitcode serialization: {0} Bitcode(#[from] bitcode::Error), /// IO Error: {0} Io(#[from] std::io::Error),