Skip to content

Commit

Permalink
Fix a use error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 10, 2025
1 parent c0b9cdf commit 3ddd6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wiggle/test-helpers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl MemArea {
}

/// Enumerate all memareas of size `len` inside a given area
fn inside(&self, len: u32) -> impl Iterator<Item = MemArea> + use<'_> {
fn inside(&self, len: u32) -> impl Iterator<Item = MemArea> + use<> {
let end: i64 = self.len as i64 - len as i64;
let start = self.ptr;
(0..end).into_iter().map(move |v| MemArea {
Expand Down

0 comments on commit 3ddd6c8

Please sign in to comment.