Why does Vec::from_raw_parts require same size and not same size*capacity

I think the wording is more strict than necessary and there isn't a problem with your usage. Would be best to send a PR to update the docs

2 Likes