We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8b7948 commit bd80766Copy full SHA for bd80766
uefi/src/table/boot.rs
@@ -2108,7 +2108,11 @@ impl<'buf> Iterator for MemoryMapIter<'buf> {
2108
}
2109
2110
2111
-impl ExactSizeIterator for MemoryMapIter<'_> {}
+impl ExactSizeIterator for MemoryMapIter<'_> {
2112
+ fn len(&self) -> usize {
2113
+ self.len
2114
+ }
2115
+}
2116
2117
/// The type of handle search to perform.
2118
#[derive(Debug, Copy, Clone)]
0 commit comments