Skip to content

Commit 2a719f8

Browse files
committed
remove allow(unused_unsafe)
1 parent a9a8344 commit 2a719f8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/structures/paging/mapper/recursive_page_table.rs

-6
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,6 @@ impl<'a> Mapper<Size1GiB> for RecursivePageTable<'a> {
334334
Ok((frame, MapperFlush::new(page)))
335335
}
336336

337-
// allow unused_unsafe until https://github.com/rust-lang/rfcs/pull/2585 lands
338-
#[allow(unused_unsafe)]
339337
unsafe fn update_flags(
340338
&mut self,
341339
page: Page<Size1GiB>,
@@ -462,8 +460,6 @@ impl<'a> Mapper<Size2MiB> for RecursivePageTable<'a> {
462460
Ok((frame, MapperFlush::new(page)))
463461
}
464462

465-
// allow unused_unsafe until https://github.com/rust-lang/rfcs/pull/2585 lands
466-
#[allow(unused_unsafe)]
467463
unsafe fn update_flags(
468464
&mut self,
469465
page: Page<Size2MiB>,
@@ -620,8 +616,6 @@ impl<'a> Mapper<Size4KiB> for RecursivePageTable<'a> {
620616
Ok((frame, MapperFlush::new(page)))
621617
}
622618

623-
// allow unused_unsafe until https://github.com/rust-lang/rfcs/pull/2585 lands
624-
#[allow(unused_unsafe)]
625619
unsafe fn update_flags(
626620
&mut self,
627621
page: Page<Size4KiB>,

0 commit comments

Comments
 (0)