@@ -531,7 +531,9 @@ pub fn check_event(event: Event) -> Result<bool> {
531
531
}
532
532
}
533
533
534
- /// Places the supplied `event` in the signaled state. If `event` is already in
534
+ /// Places the supplied `event` in the signaled state.
535
+ ///
536
+ /// If `event` is already in
535
537
/// the signaled state, the function returns successfully. If `event` is of type
536
538
/// [`NOTIFY_SIGNAL`], the event's notification function is scheduled to be
537
539
/// invoked at the event's notification task priority level.
@@ -746,12 +748,14 @@ pub unsafe fn install_protocol_interface(
746
748
. to_result_with_val ( || unsafe { Handle :: from_ptr ( handle) } . unwrap ( ) )
747
749
}
748
750
749
- /// Reinstalls a protocol interface on a device handle. `old_interface` is replaced with `new_interface`.
750
- /// These interfaces may be the same, in which case the registered protocol notifications occur for the handle
751
- /// without replacing the interface.
751
+ /// Reinstalls a protocol interface on a device handle. `old_interface` is
752
+ /// replaced with `new_interface`.
753
+ ///
754
+ /// These interfaces may be the same, in which case the registered protocol
755
+ /// notifications occur for the handle without replacing the interface.
752
756
///
753
- /// As with `install_protocol_interface`, any process that has registered to wait for the installation of
754
- /// the interface is notified.
757
+ /// As with `install_protocol_interface`, any process that has registered to
758
+ /// wait for the installation of the interface is notified.
755
759
///
756
760
/// # Safety
757
761
///
0 commit comments