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 {
143143///
144144/// * [`Status::OUT_OF_RESOURCES`]: allocation failed.
145145/// * [`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> .
147147/// * [`Status::NOT_FOUND`]: the requested pages could not be found.
148148pub fn allocate_pages (
149149 allocation_type : AllocateType ,
@@ -229,7 +229,7 @@ pub unsafe fn free_pages(ptr: NonNull<u8>, count: usize) -> Result {
229229///
230230/// * [`Status::OUT_OF_RESOURCES`]: allocation failed.
231231/// * [`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> .
233233pub fn allocate_pool ( memory_type : MemoryType , size : usize ) -> Result < NonNull < u8 > > {
234234 let bt = boot_services_raw_panicking ( ) ;
235235 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 {
246246
247247/// Iterator over all UEFI variables.
248248///
249- /// Each iteration yields a ` Result<`[`VariableKey`]`>` . Error values:
249+ /// Each iteration yields a <code> Result<`[`VariableKey`]`></code> . Error values:
250250///
251251/// * [`Status::DEVICE_ERROR`]: variable could not be read due to a hardware error.
252252/// * [`Status::UNSUPPORTED`]: this platform does not support variable storage
You can’t perform that action at this time.
0 commit comments