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 9e8e277 commit a47fc15Copy full SHA for a47fc15
src/alloc/isolated_alloc.rs
@@ -302,7 +302,7 @@ impl IsolatedAlloc {
302
}
303
304
305
- /// Returns a vector of page addresses managed by the allocator.
+ /// Returns a list of page addresses managed by the allocator.
306
pub fn pages(&self) -> impl Iterator<Item = usize> {
307
let pages = self.page_ptrs.iter().map(|p| p.expose_provenance().get());
308
pages.chain(self.huge_ptrs.iter().flat_map(|(ptr, size)| {
0 commit comments