We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
next_id
alloc_with_id
fn alloc_with_id(f: impl FnOnce(ID) -> T)
seems like potentially more bullet-proof API?