Skip to content

Commit faea273

Browse files
committed
Update HandlerFuncType documentation
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 16ba0c0 commit faea273

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/structures/idt.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,9 +797,9 @@ impl<F: HandlerFuncType> Entry<F> {
797797
}
798798
}
799799

800-
/// The trait for all function types that can be used as a handler function in `Entry`.
800+
/// A common trait for all handler functions usable in [`Entry`].
801801
pub trait HandlerFuncType {
802-
/// Get the virtual memory address of the function
802+
/// Get the virtual address of the handler function.
803803
fn to_virt_addr(self) -> VirtAddr;
804804
}
805805

0 commit comments

Comments
 (0)