Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ where
NI: NodeIndex,
{
/// The location of this allocation within the buffer.
pub offset: NI,
pub offset: u32,
/// The node index associated with this allocation.
metadata: NI::NonMax,
}
Expand Down Expand Up @@ -291,7 +291,7 @@ where

let node = &mut self.nodes[node_index.to_usize()];
Some(Allocation {
offset: NI::from_u32(node.data_offset),
offset: node.data_offset,
metadata: node_index,
})
}
Expand Down