File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# uefi-services
22
33WARNING: ` uefi-services ` is deprecated. Functionality was moved to
4- ` uefi::helpers::init ` in ` uefi ` ´ v0.28.0`.
4+ ` uefi::helpers::init ` in ` uefi@ v0.28.0 ` .
Original file line number Diff line number Diff line change @@ -216,8 +216,8 @@ impl BootServices {
216216 ///
217217 /// The buffer must be aligned like a `MemoryDescriptor`.
218218 ///
219- /// The returned key is a unique identifier of the current configuration of memory.
220- /// Any allocations or such will change the memory map's key.
219+ /// The returned key is a unique identifier of the current configuration of
220+ /// memory. Any allocations or such will change the memory map's key.
221221 ///
222222 /// If you want to store the resulting memory map without having to keep
223223 /// the buffer around, you can use `.copied().collect()` on the iterator.
@@ -1628,7 +1628,7 @@ pub struct MemoryMapSize {
16281628/// map, you manually have to call [`MemoryMap::sort`] first.
16291629///
16301630/// ## UEFI pitfalls
1631- /// **Please note that when working with memory maps, the `entry_size` is
1631+ /// **Please note** that when working with memory maps, the `entry_size` is
16321632/// usually larger than `size_of::<MemoryDescriptor` [[0]]. So to be safe,
16331633/// always use `entry_size` as step-size when interfacing with the memory map on
16341634/// a low level.
You can’t perform that action at this time.
0 commit comments