2 ms·
> Yeah, but the ergonomics suck. Especially for random cleanup tasks that aren’t necessarily one-object, one-task. Doesn’t seem much more of a problem? Put a t
by masklinn 5y ago
> Yeah, but the ergonomics suck. Especially for random cleanup tasks that aren’t necessarily one-object, one-task.
Doesn’t seem much more of a problem? Put a tuple in, get references out, cleanup gets the entire tuple.
If lifetimes get complicated, use refcells and / or Rcs.