You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #18 I have put several Tys behind Arcs because you have been using them behind references at some places, but the enum feels like a copy type, since Ty<Name> is the variant used most often (only Ty<String> appears to be used in some other places).
The text was updated successfully, but these errors were encountered:
It's not copy because of the recursive enum variants that contain Box<Ty<A>>. Cloning (and therefore copying) makes a deep copy of the recursive structure.
In #18 I have put several
Ty
s behind Arcs because you have been using them behind references at some places, but the enum feels like a copy type, sinceTy<Name>
is the variant used most often (onlyTy<String>
appears to be used in some other places).The text was updated successfully, but these errors were encountered: