Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Dec 17, 2023
1 parent 55109c6 commit 428bb9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1977,7 +1977,7 @@ mod test {

let a = mmap.as_ref()[0];
unsafe {
mmap.unchecked_advise(UncheckedAdvice::DontNeed).unwrap();
mmap.unchecked_advise(crate::UncheckedAdvice::DontNeed).unwrap();
}
let b = mmap.as_ref()[0];

Expand All @@ -1997,7 +1997,7 @@ mod test {
let a = mmap.as_ref()[0];
let b = mmap.as_ref()[page_size];
unsafe {
mmap.unchecked_advise_range(UncheckedAdvice::DontNeed, page_size, page_size)
mmap.unchecked_advise_range(crate::UncheckedAdvice::DontNeed, page_size, page_size)
.unwrap();
}
let c = mmap.as_ref()[0];
Expand Down

0 comments on commit 428bb9b

Please sign in to comment.