File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ pub unsafe fn raise_tpl(tpl: Tpl) -> TplGuard {
143
143
///
144
144
/// * [`Status::OUT_OF_RESOURCES`]: allocation failed.
145
145
/// * [`Status::INVALID_PARAMETER`]: `mem_ty` is [`MemoryType::PERSISTENT_MEMORY`],
146
- /// [`MemoryType::UNACCEPTED`], or in the range [` MemoryType::MAX`]` ..=0x6fff_ffff` .
146
+ /// [`MemoryType::UNACCEPTED`], or in the range <code>[ MemoryType::MAX] ..=0x6fff_ffff</code> .
147
147
/// * [`Status::NOT_FOUND`]: the requested pages could not be found.
148
148
pub fn allocate_pages (
149
149
allocation_type : AllocateType ,
@@ -229,7 +229,7 @@ pub unsafe fn free_pages(ptr: NonNull<u8>, count: usize) -> Result {
229
229
///
230
230
/// * [`Status::OUT_OF_RESOURCES`]: allocation failed.
231
231
/// * [`Status::INVALID_PARAMETER`]: `mem_ty` is [`MemoryType::PERSISTENT_MEMORY`],
232
- /// [`MemoryType::UNACCEPTED`], or in the range [` MemoryType::MAX`]` ..=0x6fff_ffff` .
232
+ /// [`MemoryType::UNACCEPTED`], or in the range <code>[ MemoryType::MAX] ..=0x6fff_ffff</code> .
233
233
pub fn allocate_pool ( memory_type : MemoryType , size : usize ) -> Result < NonNull < u8 > > {
234
234
let bt = boot_services_raw_panicking ( ) ;
235
235
let bt = unsafe { bt. as_ref ( ) } ;
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ pub fn variable_keys() -> VariableKeys {
246
246
247
247
/// Iterator over all UEFI variables.
248
248
///
249
- /// Each iteration yields a ` Result<`[`VariableKey`]`>` . Error values:
249
+ /// Each iteration yields a <code> Result<`[`VariableKey`]`></code> . Error values:
250
250
///
251
251
/// * [`Status::DEVICE_ERROR`]: variable could not be read due to a hardware error.
252
252
/// * [`Status::UNSUPPORTED`]: this platform does not support variable storage
You can’t perform that action at this time.
0 commit comments