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
At the moment there are several places in the myopic-board crate where we return an explicit implementation type allocated on the stack MutBoardImpl. It makes more sense from a SWE perspective to return the generic trait type MutBoard which forces returning generic a fat pointer to the heap allocated object Box<dyn Mutboard>. All our generic methods defined elsewhere should work and we can probably remove the awkward parameterization on the EvalBoard trait.
The text was updated successfully, but these errors were encountered:
At the moment there are several places in the myopic-board crate where we return an explicit implementation type allocated on the stack
MutBoardImpl
. It makes more sense from a SWE perspective to return the generic trait typeMutBoard
which forces returning generic a fat pointer to the heap allocated objectBox<dyn Mutboard>
. All our generic methods defined elsewhere should work and we can probably remove the awkward parameterization on theEvalBoard
trait.The text was updated successfully, but these errors were encountered: