Skip to content

Commit fe80bb4

Browse files
committed
feat(mapper): derive Clone, Copy for PhysOffset
1 parent 66b17b6 commit fe80bb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/structures/paging/mapper/offset_page_table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl<'a> OffsetPageTable<'a> {
5151

5252
/// A [`PageTableFrameMapping`] implementation that requires that the complete physical memory is mapped at some
5353
/// offset in the virtual address space.
54-
#[derive(Debug)]
54+
#[derive(Clone, Copy, Debug)]
5555
pub struct PhysOffset {
5656
phys_offset: VirtAddr,
5757
}

0 commit comments

Comments
 (0)