3 ms·
Except in the case I'm talking about, there was a resource to be reclaimed, the GC didn't cover it. And if you wanted to do that in rust, that's a valid thing
by monocasa 3y ago
Except in the case I'm talking about, there was a resource to be reclaimed, the GC didn't cover it.
And if you wanted to do that in rust, that's a valid thing too, either as using a tuple instead of a sum type, or a tuple in the Err side of a result. You can describe what you're trying to do simply with the function signature.