2 ms·
Internally mutable types are allowed, but doing internal mutation isn't. So a const function can return a cell, for instance, as long as the cell isn't mutated
by PoignardAzur 2y ago
Internally mutable types are allowed, but doing internal mutation isn't.
So a const function can return a cell, for instance, as long as the cell isn't mutated inside the function.