Skip to content

Commit 463c6ca

Browse files
committed
Remove safety section from close_event's documentation, as it's no longer unsafe.
1 parent 8eefdd9 commit 463c6ca

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/table/boot.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,6 @@ impl BootServices {
459459
///
460460
/// Note: The UEFI Specification v2.9 states that this may only return `EFI_SUCCESS`, but,
461461
/// at least for application based on EDK2 (such as OVMF), it may also return `EFI_INVALID_PARAMETER`.
462-
///
463-
/// # Safety
464-
/// Once the event is closed, it is no longer valid and may not be used again. The firmware
465-
/// implementation will have `free`'d the event's memory.
466462
pub fn close_event(&self, event: Event) -> Result {
467463
unsafe { (self.close_event)(event).into() }
468464
}

0 commit comments

Comments
 (0)