Skip to content

Commit ff1000f

Browse files
committed
Two more
1 parent c7afba9 commit ff1000f

File tree

2 files changed

+2
-2
lines changed
  • vm/devices/net/net_consomme/consomme/src/tcp
  • vmm_core/virt_whp/src

2 files changed

+2
-2
lines changed

vm/devices/net/net_consomme/consomme/src/tcp/ring.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ impl<'a> View<'a> {
101101
}
102102
}
103103

104-
pub fn iter(&self) -> impl '_ + Iterator<Item = &u8> {
104+
pub fn iter(&self) -> impl Iterator<Item = &u8> + use<'_> {
105105
let (a, b) = self.as_slices();
106106
a.iter().chain(b)
107107
}

vmm_core/virt_whp/src/vtl2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pub(crate) struct Vtl2Emulation {
190190
mod inspect_helpers {
191191
use super::*;
192192

193-
pub(super) fn vsm_config_raw(raw: &AtomicU64) -> impl Inspect {
193+
pub(super) fn vsm_config_raw(raw: &AtomicU64) -> impl Inspect + use<> {
194194
let config = HvRegisterVsmPartitionConfig::from(raw.load(Ordering::Relaxed));
195195
inspect::AsDebug(config)
196196
}

0 commit comments

Comments
 (0)