Open Ddystopia opened 3 months ago
I'm just catching up. Do you have a particular use-case for this? Just so that I can understand the motivation.
There is no guarantee that these references are distinct, so it will need an O(n^2)
cross-check. I was working on a prototype API for borrowing an unlimited number of things simultaneously, but other things took precedence. That would have been adding one borrow at a time in the code, with an O(N)
check for each, so not exactly this API.
Hello,
can here be an api like that in std? So that signature would look like