3 ms·
Yep, that's the code I meant. And yeah I know it doesn't work, but it should! We've already done the partial borrow analysis for the compiler! Unfortunately the
by bobbylarrybobby 4y ago
Yep, that's the code I meant. And yeah I know it doesn't work, but it should! We've already done the partial borrow analysis for the compiler! Unfortunately the destructuring is only sugar and doesn't change what the borrow checker sees: two functions that each take a `&mut Self`.