Skip to content

Commit a3269af

Browse files
docs: use proper formatting
Co-authored-by: Philipp Schuster <[email protected]>
1 parent 6fdbd7d commit a3269af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

uefi-raw/src/table/boot.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@ impl MemoryType {
439439

440440
/// Construct a custom `MemoryType`. Values in the range `0x8000_0000..=0xffff_ffff` are free for use if you are
441441
/// an OS loader.
442-
/// Warning* Some EFI firmware versions (e.g., OVMF r11337) may crash or [behave incorrectly](<https://wiki.osdev.org/UEFI#My_bootloader_hangs_if_I_use_user_defined_EFI_MEMORY_TYPE_values>) when using a custom `MemoryType`.
442+
///
443+
/// **Warning**: Some EFI firmware versions (e.g., OVMF r11337) may crash or [behave incorrectly](https://wiki.osdev.org/UEFI#My_bootloader_hangs_if_I_use_user_defined_EFI_MEMORY_TYPE_values) when using a custom `MemoryType`.
443444
#[must_use]
444445
pub const fn custom(value: u32) -> Self {
445446
assert!(value >= 0x80000000);

0 commit comments

Comments
 (0)