Gc<RefCell<T>>
can be more ergonomic
#2
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
T-enhancement
New feature or request
If you have a
Gc<RefCell<T>>
you need to have two guards:Instead we should have some sort of impl like:
Which would increase ergonomics! Unfortunately
GcRef
andGcRefMut
would be self referential structs, so we'd probably needrental
, and that's why I haven't done this yet.The text was updated successfully, but these errors were encountered: