Skip to content

Commit 7fc103f

Browse files
committed
uefi: mem: doc fixes
1 parent f183718 commit 7fc103f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

uefi/src/mem/memory_map/impl_.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,9 @@ impl MemoryMapBackingMemory {
248248
}
249249

250250
/// Returns a "safe" best-effort size hint for the memory map size with
251-
/// some additional bytes in buffer compared to the [`crate::table::boot::mmap::MemoryMapMeta`].
252-
/// This helps
251+
/// some additional bytes in buffer compared to the [`MemoryMapMeta`]. This
252+
/// takes into account that, as you go, more (small) allocations might
253+
/// happen.
253254
#[must_use]
254255
fn safe_allocation_size_hint(mmm: MemoryMapMeta) -> usize {
255256
// Allocate space for extra entries beyond the current size of the

0 commit comments

Comments
 (0)