Skip to content

Commit

Permalink
Merge pull request #1391 from nicholasbishop/bishop-helper-init-doc
Browse files Browse the repository at this point in the history
uefi: Add panic doc to uefi::helpers::init
  • Loading branch information
phip1611 committed Sep 3, 2024
2 parents f7ffd27 + 1cc3189 commit 9090f9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions uefi/src/helpers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ pub fn system_table() -> SystemTable<Boot> {
/// **PLEASE NOTE** that these helpers are meant for the pre exit boot service
/// epoch. Limited functionality might work after exiting them, such as logging
/// to the debugcon device.
///
/// # Panics
///
/// This function may panic if called more than once.
#[allow(clippy::missing_const_for_fn)]
pub fn init() -> Result<()> {
// Set up logging.
Expand Down

0 comments on commit 9090f9e

Please sign in to comment.